From e34166867d13d034119d685e98686d224a886e12 Mon Sep 17 00:00:00 2001 From: xlauko Date: Mon, 25 Nov 2024 09:23:10 +0100 Subject: [PATCH] hl: Remove empty else assembly form of constant attribute from VardDeclOp. --- include/vast/Dialect/HighLevel/HighLevelVar.td | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/vast/Dialect/HighLevel/HighLevelVar.td b/include/vast/Dialect/HighLevel/HighLevelVar.td index 465b29c6df..a736a37705 100644 --- a/include/vast/Dialect/HighLevel/HighLevelVar.td +++ b/include/vast/Dialect/HighLevel/HighLevelVar.td @@ -47,7 +47,7 @@ def HighLevel_VarDeclOp ]; let assemblyFormat = [{ - $sym_name attr-dict (`,`$linkage^)? (`constant` $constant^):(``)? custom< StorageClasses >($storageClass, $threadStorageClass) + $sym_name attr-dict (`,`$linkage^)? (`constant` $constant^)? custom< StorageClasses >($storageClass, $threadStorageClass) `:` $type (`=` $initializer^)? (`allocation_size` $allocation_size^)?