Skip to content

Commit c763924

Browse files
xlaukolanza
authored andcommitted
[CIR] Make OptInfoAttr use struct in assemblyFormat explicitly (llvm#1633)
1 parent 0b96f16 commit c763924

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/include/clang/CIR/Dialect/IR/CIRAttrs.td

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ def CIR_OptInfoAttr : CIR_Attr<"OptInfo", "opt_info"> {
133133
let parameters = (ins "unsigned":$level, "unsigned":$size);
134134

135135
let assemblyFormat = [{
136-
`<` `level` `=` $level `,` `size` `=` $size `>`
136+
`<` struct(params) `>`
137137
}];
138138
let genVerifyDecl = 1;
139139
}

0 commit comments

Comments
 (0)