================
@@ -1173,7 +1178,8 @@ def CIR_SwitchOp : CIR_Op<"switch", [
```
}];
- let arguments = (ins CIR_IntType:$condition);
+ let arguments = (ins CIR_IntType:$condition,
+ DefaultValuedAttr<BoolAttr,
"false">:$allEnumCasesCovered);
----------------
xlauko wrote:
This should be UnitAttr:
```suggestion
let arguments = (ins
CIR_IntType:$condition,
UnitAttr:$all_enum_cases_covered
);
```
https://github.com/llvm/llvm-project/pull/171246
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits