Skip to content

Commit ceb178c

Browse files
authored
[CIR] Reindex CaseOpKind to align with upstream (#1696)
1 parent 96a37b4 commit ceb178c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1901,10 +1901,10 @@ def CmpThreeWayOp : CIR_Op<"cmp3way", [Pure, SameTypeOperands]> {
19011901
//===----------------------------------------------------------------------===//
19021902

19031903
def CIR_CaseOpKind : CIR_I32EnumAttr<"CaseOpKind", "case kind", [
1904-
I32EnumAttrCase<"Default", 1, "default">,
1905-
I32EnumAttrCase<"Equal", 2, "equal">,
1906-
I32EnumAttrCase<"Anyof", 3, "anyof">,
1907-
I32EnumAttrCase<"Range", 4, "range">
1904+
I32EnumAttrCase<"Default", 0, "default">,
1905+
I32EnumAttrCase<"Equal", 1, "equal">,
1906+
I32EnumAttrCase<"Anyof", 2, "anyof">,
1907+
I32EnumAttrCase<"Range", 3, "range">
19081908
]>;
19091909

19101910
def CaseOp : CIR_Op<"case", [

0 commit comments

Comments
 (0)