[Mlir-commits] [mlir] [mlir][tensor] Fix `tensor.pad` to remote newly static values (PR #79938)

Jakub Kuderski llvmlistbot at llvm.org
Mon Jan 29 19:30:02 PST 2024


================
@@ -1361,7 +1361,7 @@ func.func @pad_same_static_shape(%arg0: tensor<5x6xf32>, %a: index)
 // CHECK-LABEL:   func @pad_fold_static(
 // CHECK-SAME:      %[[INPUT:.*]]: tensor<?x64x?x?xf32>) -> tensor<?x?x?x?xf32> {
 // CHECK:           %[[CST:.*]] = arith.constant 0.000000e+00 : f32
-// CHECK:           %[[PADDING:.*]] = arith.constant 4 : index
+// CHECK-NOT:       %[[PADDING:.*]] = arith.constant 4 : index
----------------
kuhar wrote:

nit: since this is checking for absence, do we want to capture the name?

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


More information about the Mlir-commits mailing list