File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
clang/include/clang/CIR/Dialect/IR Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -4985,6 +4985,11 @@ def CIR_AtomicFetchKind : CIR_I32EnumAttr<
49854985 I32EnumAttrCase<"Min", 7, "min">
49864986]>;
49874987
4988+ def CIR_SyncScopeKind : CIR_I32EnumAttr<"SyncScopeKind", "sync scope kind", [
4989+ I32EnumAttrCase<"SingleThread", 0, "single_thread">,
4990+ I32EnumAttrCase<"System", 1, "system">
4991+ ]>;
4992+
49884993def CIR_AtomicFetchOp : CIR_Op<"atomic.fetch", [
49894994 AllTypesMatch<["result", "val"]>,
49904995 TypesMatchWith<"type of 'val' must match the pointee type of 'ptr'",
@@ -5208,11 +5213,6 @@ def CIR_AtomicClearOp : CIR_Op<"atomic.clear"> {
52085213 }];
52095214}
52105215
5211- def CIR_SyncScopeKind : CIR_I32EnumAttr<"SyncScopeKind", "sync scope kind", [
5212- I32EnumAttrCase<"SingleThread", 0, "single_thread">,
5213- I32EnumAttrCase<"System", 1, "system">
5214- ]>;
5215-
52165216def CIR_AtomicFence : CIR_Op<"atomic.fence"> {
52175217 let summary = "Atomic thread fence";
52185218 let description = [{
You can’t perform that action at this time.
0 commit comments