[Mlir-commits] [mlir] [mlir][vector] Add opt-in `inbounds`/`nneg` flags to `vector.load`/`vector.store` (PR #202118)

Federico Bruzzone llvmlistbot at llvm.org
Wed Jun 17 05:07:51 PDT 2026


================
@@ -1805,6 +1805,23 @@ func.func @store_with_alignment(%memref : memref<200x100xf32>, %i : index, %j :
 
 // -----
 
+//===----------------------------------------------------------------------===//
+// vector.load / vector.store with --enable-gep-inbounds-nuw pass option
+//===----------------------------------------------------------------------===//
+
+// RUN: mlir-opt %s -convert-vector-to-llvm='enable-gep-inbounds-nuw=1' -split-input-file | FileCheck %s --check-prefix=CHECK-INBOUNDS
----------------
FedericoBruzzone wrote:

Thank you so much for the review :D

I'm absolutely willing to move the tests forward. I hope to be able to complete everything today.

https://github.com/llvm/llvm-project/pull/202118


More information about the Mlir-commits mailing list