[Mlir-commits] [mlir] Update MLIR to support nusw and nuw in GEP. (PR #137272)
Tobias Gysi
llvmlistbot at llvm.org
Thu Apr 24 23:19:39 PDT 2025
================
@@ -291,7 +291,7 @@ def LLVM_GEPOp : LLVM_Op<"getelementptr", [Pure,
Variadic<LLVM_ScalarOrVectorOf<AnySignlessInteger>>:$dynamicIndices,
DenseI32ArrayAttr:$rawConstantIndices,
TypeAttr:$elem_type,
- UnitAttr:$inbounds);
+ GEPNoWrapFlagsProp:$gepNoWrapFlags);
----------------
gysit wrote:
```suggestion
GEPNoWrapFlagsProp:$noWrapFlags);
```
nit: I would probably skip the gep prefix.
https://github.com/llvm/llvm-project/pull/137272
More information about the Mlir-commits
mailing list