[Mlir-commits] [mlir] [mlir][bufferization] Test tensor encoding -> memref layout conversion (PR #161166)

Andrei Golubev llvmlistbot at llvm.org
Mon Oct 6 05:43:48 PDT 2025


================
@@ -24,10 +24,46 @@
     // CHECK-NOT: copy
     // CHECK: %[[call:.*]]:2 = call @inner_func(%[[arg0]])
     %0, %1 = call @inner_func(%t0) : (tensor<?xf32>) -> (tensor<?xf32>, f32)
-    // CHECK: return %[[call]]#1, %[[call]]#0 : f32, memref<?xf32,{{.*}}>
+    // CHECK: return %[[call]]#1, %[[call]]#0 : f32, memref<?xf32{{.*}}>
----------------
andrey-golubev wrote:

note: i don't know why, but somehow running the test locally for me failed without this fix. given that mlir-opt produces `memref<?xf32>` for me, I'm not sure how this works in upstream :|

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


More information about the Mlir-commits mailing list