Skip to content

Commit 1669d4d

Browse files
move sync scope kind
1 parent 24e3f1a commit 1669d4d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4899,6 +4899,11 @@ def CIR_AtomicFetchKind : CIR_I32EnumAttr<
48994899
I32EnumAttrCase<"Min", 7, "min">
49004900
]>;
49014901

4902+
def CIR_SyncScopeKind : CIR_I32EnumAttr<"SyncScopeKind", "sync scope kind", [
4903+
I32EnumAttrCase<"SingleThread", 0, "single_thread">,
4904+
I32EnumAttrCase<"System", 1, "system">
4905+
]>;
4906+
49024907
def CIR_AtomicFetchOp : CIR_Op<"atomic.fetch", [
49034908
AllTypesMatch<["result", "val"]>,
49044909
TypesMatchWith<"type of 'val' must match the pointee type of 'ptr'",
@@ -5122,11 +5127,6 @@ def CIR_AtomicClearOp : CIR_Op<"atomic.clear"> {
51225127
}];
51235128
}
51245129

5125-
def CIR_SyncScopeKind : CIR_I32EnumAttr<"SyncScopeKind", "sync scope kind", [
5126-
I32EnumAttrCase<"SingleThread", 0, "single_thread">,
5127-
I32EnumAttrCase<"System", 1, "system">
5128-
]>;
5129-
51305130
def CIR_AtomicFence : CIR_Op<"atomic.fence"> {
51315131
let summary = "Atomic thread fence";
51325132
let description = [{

0 commit comments

Comments
 (0)