[Mlir-commits] [mlir] [mlir][vector] Sink vector.extract/splat into load/store ops (PR #134389)
Andrzej WarzyĆski
llvmlistbot at llvm.org
Tue Apr 22 05:35:29 PDT 2025
================
@@ -114,6 +117,15 @@ struct ArithBuilder {
private:
OpBuilder &b;
Location loc;
+ arith::IntegerOverflowFlags ovf;
+};
+
+/// ArithBuilder specialized specifically for tensor/memref indexing
+/// calculations. Those calculations generally should never signed overflow, so
+/// we can set oveflow flags accordingly.
----------------
banach-space wrote:
[nit]
```suggestion
/// calculations. Those calculations generally should never overflow and always use signed integers, so
/// we can set oveflow flags accordingly.
```
https://github.com/llvm/llvm-project/pull/134389
More information about the Mlir-commits
mailing list