[Mlir-commits] [mlir] [mlir][LLVM] `FuncToLLVM`: Add 1:N type conversion support (PR #153823)

Tobias Gysi llvmlistbot at llvm.org
Fri Aug 15 13:05:10 PDT 2025


================
@@ -1,12 +1,13 @@
-// RUN: mlir-opt %s -test-llvm-legalize-patterns -split-input-file
+// RUN: mlir-opt %s -test-llvm-legalize-patterns -split-input-file | FileCheck %s
+// RUN: mlir-opt %s -test-llvm-legalize-patterns="allow-pattern-rollback=0" -split-input-file | FileCheck %s
 
 // Test the argument materializer for ranked MemRef types.
 
 //   CHECK-LABEL: func @construct_ranked_memref_descriptor(
-//         CHECK:   llvm.mlir.undef : !llvm.struct<(ptr, ptr, i64, array<2 x i64>, array<2 x i64>)>
+//         CHECK:   llvm.mlir.poison : !llvm.struct<(ptr, ptr, i64, array<2 x i64>, array<2 x i64>)>
----------------
gysit wrote:

Just out of curiosity, why did this change to poison (was not obvious from the review)? 

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


More information about the Mlir-commits mailing list