[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
================
@@ -303,8 +303,10 @@ def LLVM_GEPOp : LLVM_Op<"getelementptr", [Pure,
as indices. In the case of indexing within a structure, it is required to
either use constant indices directly, or supply a constant SSA value.
- An optional 'inbounds' attribute specifies the low-level pointer arithmetic
+ Optional attributes can be used to specify the low-level pointer arithmetic
----------------
gysit wrote:
```suggestion
The no-wrap flags can be used to specify the low-level pointer arithmetic
```
nit: I would name the flag explicitly.
https://github.com/llvm/llvm-project/pull/137272
More information about the Mlir-commits
mailing list