[Mlir-commits] [mlir] [MLIR][LLVM][Mem2Reg] Extends support for partial stores (PR #89740)

Théo Degioanni llvmlistbot at llvm.org
Wed Apr 24 01:04:36 PDT 2024


================
@@ -1047,3 +1025,135 @@ llvm.func @scalable_llvm_vector() -> i16 {
   %2 = llvm.load %1 : !llvm.ptr -> i16
   llvm.return %2 : i16
 }
+
+// -----
+
+// CHECK-LABEL: @smaller_store_forwarding
+// CHECK-SAME: %[[ARG:.+]]: i16
+llvm.func @smaller_store_forwarding(%arg : i16) {
----------------
Moxinilian wrote:

Do we know that little-endian is the default? On tests where that matters, I'd be in favor of also explicitly setting endianness as litte.

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


More information about the Mlir-commits mailing list