================
@@ -1913,11 +1871,12 @@ def CIR_BlockAddrDiffAttr
 // Side Effect
 
//===----------------------------------------------------------------------===//
 
-def CIR_SideEffect : CIR_I32Enum<
+def CIR_SideEffect : CIR_I32EnumAttr<
     "SideEffect", "allowed side effects of a function", [
       I32EnumAttrCase<"All", 0, "all">,
       I32EnumAttrCase<"Pure", 1, "pure">,
-      I32EnumAttrCase<"Const", 2, "const">
+      I32EnumAttrCase<"Const", 2, "const">,
+      I32EnumAttrCase<"ArgMem", 4, "argmem">
----------------
koparasy wrote:

Why not 3?

https://github.com/llvm/llvm-project/pull/221819
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to