================
@@ -4248,11 +4272,15 @@ def CIR_GetElementOp : CIR_Op<"get_element", [
 
   let arguments = (ins
     Arg<CIR_PtrToArray, "the base address of the array ">:$base,
-    Arg<CIR_AnyFundamentalIntType, "the index of the element">:$index
+    Arg<CIR_AnyFundamentalIntType, "the index of the element">:$index,
+    UnitProp:$in_bounds,
----------------
andykaylor wrote:

Did you consider using something equivalent to the LLVM dialect's 
`GEPNoWrapFlags`? In addition to `inbounds` and `nuw`, they also support 
`nusw`. I'm not sure when that comes up.


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

Reply via email to