[Mlir-commits] [mlir] [mlir] Fix integration tests after #120548 (PR #120706)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Fri Dec 20 02:02:53 PST 2024


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-mlir-gpu

@llvm/pr-subscribers-mlir-linalg

Author: Matthias Springer (matthias-springer)

<details>
<summary>Changes</summary>

This should have been part of #<!-- -->120548.

---

Patch is 66.56 KiB, truncated to 20.00 KiB below, full version: https://github.com/llvm/llvm-project/pull/120706.diff


65 Files Affected:

- (modified) mlir/lib/Dialect/SparseTensor/Pipelines/SparseTensorPipelines.cpp (+2) 
- (modified) mlir/test/Integration/Dialect/Async/CPU/microbench-linalg-async-parallel-for.mlir (+9-7) 
- (modified) mlir/test/Integration/Dialect/Async/CPU/microbench-scf-async-parallel-for.mlir (+14-11) 
- (modified) mlir/test/Integration/Dialect/Async/CPU/test-async-parallel-for-1d.mlir (+15-12) 
- (modified) mlir/test/Integration/Dialect/Async/CPU/test-async-parallel-for-2d.mlir (+12-9) 
- (modified) mlir/test/Integration/Dialect/Complex/CPU/correctness.mlir (+1-1) 
- (modified) mlir/test/Integration/Dialect/ControlFlow/assert.mlir (+1-1) 
- (modified) mlir/test/Integration/Dialect/LLVMIR/CPU/X86/test-inline-asm-vector.mlir (+1-1) 
- (modified) mlir/test/Integration/Dialect/LLVMIR/CPU/test-vp-intrinsic.mlir (+1-1) 
- (modified) mlir/test/Integration/Dialect/Linalg/CPU/runtime-verification.mlir (+1) 
- (modified) mlir/test/Integration/Dialect/MemRef/cast-runtime-verification.mlir (+3-1) 
- (modified) mlir/test/Integration/Dialect/MemRef/load-runtime-verification.mlir (+1) 
- (modified) mlir/test/Integration/Dialect/MemRef/memref_abi.c (+1-1) 
- (modified) mlir/test/Integration/Dialect/MemRef/reinterpret-cast-runtime-verification.mlir (+1) 
- (modified) mlir/test/Integration/Dialect/MemRef/subview-runtime-verification.mlir (+1) 
- (modified) mlir/test/Integration/Dialect/Standard/CPU/test-ceil-floor-pos-neg.mlir (+2-2) 
- (modified) mlir/test/Integration/Dialect/Vector/CPU/0-d-vectors.mlir (+1-1) 
- (modified) mlir/test/Integration/Dialect/Vector/CPU/broadcast.mlir (+1-1) 
- (modified) mlir/test/Integration/Dialect/Vector/CPU/compress.mlir (+1-1) 
- (modified) mlir/test/Integration/Dialect/Vector/CPU/constant-mask.mlir (+1-1) 
- (modified) mlir/test/Integration/Dialect/Vector/CPU/contraction.mlir (+1-1) 
- (modified) mlir/test/Integration/Dialect/Vector/CPU/create-mask-v4i1.mlir (+1-1) 
- (modified) mlir/test/Integration/Dialect/Vector/CPU/create-mask.mlir (+1-1) 
- (modified) mlir/test/Integration/Dialect/Vector/CPU/expand.mlir (+1-1) 
- (modified) mlir/test/Integration/Dialect/Vector/CPU/extract-strided-slice.mlir (+1-1) 
- (modified) mlir/test/Integration/Dialect/Vector/CPU/flat-transpose-col.mlir (+1-1) 
- (modified) mlir/test/Integration/Dialect/Vector/CPU/flat-transpose-row.mlir (+1-1) 
- (modified) mlir/test/Integration/Dialect/Vector/CPU/fma.mlir (+1-1) 
- (modified) mlir/test/Integration/Dialect/Vector/CPU/gather.mlir (+1-1) 
- (modified) mlir/test/Integration/Dialect/Vector/CPU/index-vectors.mlir (+1-1) 
- (modified) mlir/test/Integration/Dialect/Vector/CPU/insert-strided-slice.mlir (+1-1) 
- (modified) mlir/test/Integration/Dialect/Vector/CPU/maskedload.mlir (+1-1) 
- (modified) mlir/test/Integration/Dialect/Vector/CPU/maskedstore.mlir (+1-1) 
- (modified) mlir/test/Integration/Dialect/Vector/CPU/matrix-multiply-col.mlir (+1-1) 
- (modified) mlir/test/Integration/Dialect/Vector/CPU/matrix-multiply-row.mlir (+1-1) 
- (modified) mlir/test/Integration/Dialect/Vector/CPU/outerproduct-f32.mlir (+1-1) 
- (modified) mlir/test/Integration/Dialect/Vector/CPU/outerproduct-i64.mlir (+1-1) 
- (modified) mlir/test/Integration/Dialect/Vector/CPU/print-fp.mlir (+1-1) 
- (modified) mlir/test/Integration/Dialect/Vector/CPU/print-int.mlir (+1-1) 
- (modified) mlir/test/Integration/Dialect/Vector/CPU/realloc.mlir (+2-2) 
- (modified) mlir/test/Integration/Dialect/Vector/CPU/reductions-f32-reassoc.mlir (+2-1) 
- (modified) mlir/test/Integration/Dialect/Vector/CPU/reductions-f32.mlir (+1-1) 
- (modified) mlir/test/Integration/Dialect/Vector/CPU/reductions-f64-reassoc.mlir (+2-1) 
- (modified) mlir/test/Integration/Dialect/Vector/CPU/reductions-f64.mlir (+1-1) 
- (modified) mlir/test/Integration/Dialect/Vector/CPU/reductions-i32.mlir (+1-1) 
- (modified) mlir/test/Integration/Dialect/Vector/CPU/reductions-i4.mlir (+1-1) 
- (modified) mlir/test/Integration/Dialect/Vector/CPU/reductions-i64.mlir (+1-1) 
- (modified) mlir/test/Integration/Dialect/Vector/CPU/reductions-si4.mlir (+1-1) 
- (modified) mlir/test/Integration/Dialect/Vector/CPU/reductions-ui4.mlir (+1-1) 
- (modified) mlir/test/Integration/Dialect/Vector/CPU/scan.mlir (+1-1) 
- (modified) mlir/test/Integration/Dialect/Vector/CPU/scatter.mlir (+1-1) 
- (modified) mlir/test/Integration/Dialect/Vector/CPU/shape-cast.mlir (+1-1) 
- (modified) mlir/test/Integration/Dialect/Vector/CPU/shuffle.mlir (+1-1) 
- (modified) mlir/test/Integration/Dialect/Vector/CPU/shuffle16x16.mlir (+1-1) 
- (modified) mlir/test/Integration/Dialect/Vector/CPU/sparse-dot-matvec.mlir (+1-1) 
- (modified) mlir/test/Integration/Dialect/Vector/CPU/sparse-saxpy-jagged-matvec.mlir (+1-1) 
- (modified) mlir/test/Integration/Dialect/Vector/CPU/transfer-read-1d.mlir (+2-2) 
- (modified) mlir/test/Integration/Dialect/Vector/CPU/transfer-read-2d.mlir (+2-2) 
- (modified) mlir/test/Integration/Dialect/Vector/CPU/transfer-read-3d.mlir (+2-2) 
- (modified) mlir/test/Integration/Dialect/Vector/CPU/transfer-read.mlir (+2-2) 
- (modified) mlir/test/Integration/Dialect/Vector/CPU/transfer-to-loops.mlir (+2-2) 
- (modified) mlir/test/Integration/Dialect/Vector/CPU/transfer-write.mlir (+1-1) 
- (modified) mlir/test/Integration/Dialect/Vector/CPU/transpose.mlir (+1-1) 
- (modified) mlir/test/Integration/GPU/CUDA/async.mlir (+1-1) 
- (modified) mlir/test/python/integration/dialects/linalg/opsrun.py (+1) 


``````````diff
diff --git a/mlir/lib/Dialect/SparseTensor/Pipelines/SparseTensorPipelines.cpp b/mlir/lib/Dialect/SparseTensor/Pipelines/SparseTensorPipelines.cpp
index 96ccf9a9a24087..e922a88d5d3ef0 100644
--- a/mlir/lib/Dialect/SparseTensor/Pipelines/SparseTensorPipelines.cpp
+++ b/mlir/lib/Dialect/SparseTensor/Pipelines/SparseTensorPipelines.cpp
@@ -8,6 +8,7 @@
 
 #include "mlir/Dialect/SparseTensor/Pipelines/Passes.h"
 
+#include "mlir/Conversion/ArithToLLVM/ArithToLLVM.h"
 #include "mlir/Conversion/GPUToNVVM/GPUToNVVMPass.h"
 #include "mlir/Conversion/Passes.h"
 #include "mlir/Dialect/Arith/Transforms/Passes.h"
@@ -89,6 +90,7 @@ void mlir::sparse_tensor::buildSparsifier(OpPassManager &pm,
   pm.addPass(
       createConvertVectorToLLVMPass(options.convertVectorToLLVMOptions()));
   pm.addPass(createConvertFuncToLLVMPass());
+  pm.addPass(createArithToLLVMConversionPass());
 
   // Finalize GPU code generation.
   if (gpuCodegen) {
diff --git a/mlir/test/Integration/Dialect/Async/CPU/microbench-linalg-async-parallel-for.mlir b/mlir/test/Integration/Dialect/Async/CPU/microbench-linalg-async-parallel-for.mlir
index f70dd70f6a94bb..db579647b1ad34 100644
--- a/mlir/test/Integration/Dialect/Async/CPU/microbench-linalg-async-parallel-for.mlir
+++ b/mlir/test/Integration/Dialect/Async/CPU/microbench-linalg-async-parallel-for.mlir
@@ -5,12 +5,13 @@
 // RUN:               -async-runtime-ref-counting                              \
 // RUN:               -async-runtime-ref-counting-opt                          \
 // RUN:               -convert-async-to-llvm                                   \
-// RUN:               -convert-scf-to-cf                                      \
+// RUN:               -convert-scf-to-cf                                       \
 // RUN:               -arith-expand                                            \
-// RUN:               -memref-expand                                              \
+// RUN:               -memref-expand                                           \
 // RUN:               -convert-vector-to-llvm                                  \
-// RUN:               -finalize-memref-to-llvm                                  \
-// RUN:               -convert-func-to-llvm                                     \
+// RUN:               -finalize-memref-to-llvm                                 \
+// RUN:               -convert-func-to-llvm                                    \
+// RUN:               -convert-arith-to-llvm                                   \
 // RUN:               -reconcile-unrealized-casts                              \
 // RUN: | mlir-cpu-runner                                                      \
 // RUN: -e entry -entry-point-result=void -O3                                  \
@@ -21,10 +22,11 @@
 
 // RUN:   mlir-opt %s                                                          \
 // RUN:               -convert-linalg-to-loops                                 \
-// RUN:               -convert-scf-to-cf                                      \
+// RUN:               -convert-scf-to-cf                                       \
 // RUN:               -convert-vector-to-llvm                                  \
-// RUN:               -finalize-memref-to-llvm                                  \
-// RUN:               -convert-func-to-llvm                                     \
+// RUN:               -finalize-memref-to-llvm                                 \
+// RUN:               -convert-func-to-llvm                                    \
+// RUN:               -convert-arith-to-llvm                                   \
 // RUN:               -reconcile-unrealized-casts                              \
 // RUN: | mlir-cpu-runner                                                      \
 // RUN: -e entry -entry-point-result=void -O3                                  \
diff --git a/mlir/test/Integration/Dialect/Async/CPU/microbench-scf-async-parallel-for.mlir b/mlir/test/Integration/Dialect/Async/CPU/microbench-scf-async-parallel-for.mlir
index 53847b98d8e36d..3e6129dd4fb14c 100644
--- a/mlir/test/Integration/Dialect/Async/CPU/microbench-scf-async-parallel-for.mlir
+++ b/mlir/test/Integration/Dialect/Async/CPU/microbench-scf-async-parallel-for.mlir
@@ -5,12 +5,13 @@
 // RUN:               -async-runtime-ref-counting-opt                          \
 // RUN:               -convert-async-to-llvm                                   \
 // RUN:               -convert-linalg-to-loops                                 \
-// RUN:               -convert-scf-to-cf                                      \
+// RUN:               -convert-scf-to-cf                                       \
 // RUN:               -arith-expand                                            \
-// RUN:               -memref-expand                                              \
+// RUN:               -memref-expand                                           \
 // RUN:               -convert-vector-to-llvm                                  \
-// RUN:               -finalize-memref-to-llvm                                  \
-// RUN:               -convert-func-to-llvm                                     \
+// RUN:               -finalize-memref-to-llvm                                 \
+// RUN:               -convert-func-to-llvm                                    \
+// RUN:               -convert-arith-to-llvm                                   \
 // RUN:               -reconcile-unrealized-casts                              \
 // RUN: | mlir-cpu-runner                                                      \
 // RUN: -e entry -entry-point-result=void -O3                                  \
@@ -26,12 +27,13 @@
 // RUN:               -async-runtime-ref-counting-opt                          \
 // RUN:               -convert-async-to-llvm                                   \
 // RUN:               -convert-linalg-to-loops                                 \
-// RUN:               -convert-scf-to-cf                                      \
+// RUN:               -convert-scf-to-cf                                       \
 // RUN:               -arith-expand                                            \
-// RUN:               -memref-expand                                              \
+// RUN:               -memref-expand                                           \
 // RUN:               -convert-vector-to-llvm                                  \
-// RUN:               -finalize-memref-to-llvm                                  \
-// RUN:               -convert-func-to-llvm                                     \
+// RUN:               -finalize-memref-to-llvm                                 \
+// RUN:               -convert-func-to-llvm                                    \
+// RUN:               -convert-arith-to-llvm                                   \
 // RUN:               -reconcile-unrealized-casts                              \
 // RUN: | mlir-cpu-runner                                                      \
 // RUN: -e entry -entry-point-result=void -O3                                  \
@@ -42,10 +44,11 @@
 
 // RUN:   mlir-opt %s                                                          \
 // RUN:               -convert-linalg-to-loops                                 \
-// RUN:               -convert-scf-to-cf                                      \
+// RUN:               -convert-scf-to-cf                                       \
 // RUN:               -convert-vector-to-llvm                                  \
-// RUN:               -finalize-memref-to-llvm                                  \
-// RUN:               -convert-func-to-llvm                                     \
+// RUN:               -finalize-memref-to-llvm                                 \
+// RUN:               -convert-func-to-llvm                                    \
+// RUN:               -convert-arith-to-llvm                                   \
 // RUN:               -reconcile-unrealized-casts                              \
 // RUN: | mlir-cpu-runner                                                      \
 // RUN: -e entry -entry-point-result=void -O3                                  \
diff --git a/mlir/test/Integration/Dialect/Async/CPU/test-async-parallel-for-1d.mlir b/mlir/test/Integration/Dialect/Async/CPU/test-async-parallel-for-1d.mlir
index 27970eff4d6f95..0f1835b7006e54 100644
--- a/mlir/test/Integration/Dialect/Async/CPU/test-async-parallel-for-1d.mlir
+++ b/mlir/test/Integration/Dialect/Async/CPU/test-async-parallel-for-1d.mlir
@@ -3,11 +3,12 @@
 // RUN:               -async-runtime-ref-counting                              \
 // RUN:               -async-runtime-ref-counting-opt                          \
 // RUN:               -convert-async-to-llvm                                   \
-// RUN:               -convert-scf-to-cf                                      \
-// RUN:               -finalize-memref-to-llvm                                  \
+// RUN:               -convert-scf-to-cf                                       \
+// RUN:               -finalize-memref-to-llvm                                 \
 // RUN:               -arith-expand                                            \
-// RUN:               -memref-expand                                              \
-// RUN:               -convert-func-to-llvm                                     \
+// RUN:               -memref-expand                                           \
+// RUN:               -convert-func-to-llvm                                    \
+// RUN:               -convert-arith-to-llvm                                   \
 // RUN:               -reconcile-unrealized-casts                              \
 // RUN: | mlir-cpu-runner                                                      \
 // RUN:  -e entry -entry-point-result=void -O0                                 \
@@ -19,11 +20,12 @@
 // RUN:               -async-to-async-runtime                                  \
 // RUN:               -async-runtime-policy-based-ref-counting                 \
 // RUN:               -convert-async-to-llvm                                   \
-// RUN:               -convert-scf-to-cf                                      \
-// RUN:               -finalize-memref-to-llvm                                  \
+// RUN:               -convert-scf-to-cf                                       \
+// RUN:               -finalize-memref-to-llvm                                 \
 // RUN:               -arith-expand                                            \
-// RUN:               -memref-expand                                              \
-// RUN:               -convert-func-to-llvm                                     \
+// RUN:               -memref-expand                                           \
+// RUN:               -convert-func-to-llvm                                    \
+// RUN:               -convert-arith-to-llvm                                   \
 // RUN:               -reconcile-unrealized-casts                              \
 // RUN: | mlir-cpu-runner                                                      \
 // RUN:  -e entry -entry-point-result=void -O0                                 \
@@ -38,11 +40,12 @@
 // RUN:               -async-runtime-ref-counting                              \
 // RUN:               -async-runtime-ref-counting-opt                          \
 // RUN:               -convert-async-to-llvm                                   \
-// RUN:               -convert-scf-to-cf                                      \
-// RUN:               -finalize-memref-to-llvm                                  \
+// RUN:               -convert-scf-to-cf                                       \
+// RUN:               -finalize-memref-to-llvm                                 \
 // RUN:               -arith-expand                                            \
-// RUN:               -memref-expand                                              \
-// RUN:               -convert-func-to-llvm                                     \
+// RUN:               -memref-expand                                           \
+// RUN:               -convert-func-to-llvm                                    \
+// RUN:               -convert-arith-to-llvm                                   \
 // RUN:               -reconcile-unrealized-casts                              \
 // RUN: | mlir-cpu-runner                                                      \
 // RUN:  -e entry -entry-point-result=void -O0                                 \
diff --git a/mlir/test/Integration/Dialect/Async/CPU/test-async-parallel-for-2d.mlir b/mlir/test/Integration/Dialect/Async/CPU/test-async-parallel-for-2d.mlir
index 0c29529f1e40a3..869e34067f78fe 100644
--- a/mlir/test/Integration/Dialect/Async/CPU/test-async-parallel-for-2d.mlir
+++ b/mlir/test/Integration/Dialect/Async/CPU/test-async-parallel-for-2d.mlir
@@ -4,9 +4,10 @@
 // RUN:               -async-runtime-ref-counting-opt                          \
 // RUN:               -arith-expand                                            \
 // RUN:               -convert-async-to-llvm                                   \
-// RUN:               -convert-scf-to-cf                                      \
-// RUN:               -finalize-memref-to-llvm                                  \
-// RUN:               -convert-func-to-llvm                                     \
+// RUN:               -convert-scf-to-cf                                       \
+// RUN:               -finalize-memref-to-llvm                                 \
+// RUN:               -convert-func-to-llvm                                    \
+// RUN:               -convert-arith-to-llvm                                   \
 // RUN:               -reconcile-unrealized-casts                              \
 // RUN: | mlir-cpu-runner                                                      \
 // RUN:  -e entry -entry-point-result=void -O0                                 \
@@ -19,9 +20,10 @@
 // RUN:               -async-runtime-policy-based-ref-counting                 \
 // RUN:               -arith-expand                                            \
 // RUN:               -convert-async-to-llvm                                   \
-// RUN:               -convert-scf-to-cf                                      \
-// RUN:               -finalize-memref-to-llvm                                  \
-// RUN:               -convert-func-to-llvm                                     \
+// RUN:               -convert-scf-to-cf                                       \
+// RUN:               -finalize-memref-to-llvm                                 \
+// RUN:               -convert-func-to-llvm                                    \
+// RUN:               -convert-arith-to-llvm                                   \
 // RUN:               -reconcile-unrealized-casts                              \
 // RUN: | mlir-cpu-runner                                                      \
 // RUN:  -e entry -entry-point-result=void -O0                                 \
@@ -37,9 +39,10 @@
 // RUN:               -async-runtime-ref-counting-opt                          \
 // RUN:               -arith-expand                                            \
 // RUN:               -convert-async-to-llvm                                   \
-// RUN:               -convert-scf-to-cf                                      \
-// RUN:               -finalize-memref-to-llvm                                  \
-// RUN:               -convert-func-to-llvm                                     \
+// RUN:               -convert-scf-to-cf                                       \
+// RUN:               -finalize-memref-to-llvm                                 \
+// RUN:               -convert-func-to-llvm                                    \
+// RUN:               -convert-arith-to-llvm                                   \
 // RUN:               -reconcile-unrealized-casts                              \
 // RUN: | mlir-cpu-runner                                                      \
 // RUN:  -e entry -entry-point-result=void -O0                                 \
diff --git a/mlir/test/Integration/Dialect/Complex/CPU/correctness.mlir b/mlir/test/Integration/Dialect/Complex/CPU/correctness.mlir
index 5d27c3e290d50c..6c81e07b3cccb7 100644
--- a/mlir/test/Integration/Dialect/Complex/CPU/correctness.mlir
+++ b/mlir/test/Integration/Dialect/Complex/CPU/correctness.mlir
@@ -3,7 +3,7 @@
 // RUN:   -convert-scf-to-cf --convert-complex-to-standard \
 // RUN:   -finalize-memref-to-llvm -convert-math-to-llvm -convert-math-to-libm \
 // RUN:   -convert-vector-to-llvm -convert-complex-to-llvm \
-// RUN:   -convert-func-to-llvm -reconcile-unrealized-casts |\
+// RUN:   -convert-func-to-llvm -convert-arith-to-llvm -reconcile-unrealized-casts |\
 // RUN: mlir-cpu-runner \
 // RUN:  -e entry -entry-point-result=void  \
 // RUN:  -shared-libs=%mlir_c_runner_utils |\
diff --git a/mlir/test/Integration/Dialect/ControlFlow/assert.mlir b/mlir/test/Integration/Dialect/ControlFlow/assert.mlir
index 42130250daf1b6..6907a50886fe7b 100644
--- a/mlir/test/Integration/Dialect/ControlFlow/assert.mlir
+++ b/mlir/test/Integration/Dialect/ControlFlow/assert.mlir
@@ -1,5 +1,5 @@
 // RUN: mlir-opt %s -test-cf-assert \
-// RUN:     -convert-func-to-llvm | \
+// RUN:     -convert-func-to-llvm -convert-arith-to-llvm | \
 // RUN: mlir-cpu-runner -e main -entry-point-result=void | \
 // RUN: FileCheck %s
 
diff --git a/mlir/test/Integration/Dialect/LLVMIR/CPU/X86/test-inline-asm-vector.mlir b/mlir/test/Integration/Dialect/LLVMIR/CPU/X86/test-inline-asm-vector.mlir
index 87041ccde427d6..c14f3fa6562610 100644
--- a/mlir/test/Integration/Dialect/LLVMIR/CPU/X86/test-inline-asm-vector.mlir
+++ b/mlir/test/Integration/Dialect/LLVMIR/CPU/X86/test-inline-asm-vector.mlir
@@ -1,4 +1,4 @@
-// RUN: mlir-opt %s -convert-vector-to-scf -convert-scf-to-cf -convert-vector-to-llvm -convert-func-to-llvm -reconcile-unrealized-casts |  \
+// RUN: mlir-opt %s -convert-vector-to-scf -convert-scf-to-cf -convert-vector-to-llvm -convert-func-to-llvm -convert-arith-to-llvm -reconcile-unrealized-casts |  \
 // RUN: mlir-cpu-runner -e entry_point_with_all_constants -entry-point-result=void \
 // RUN:   -shared-libs=%mlir_c_runner_utils
 
diff --git a/mlir/test/Integration/Dialect/LLVMIR/CPU/test-vp-intrinsic.mlir b/mlir/test/Integration/Dialect/LLVMIR/CPU/test-vp-intrinsic.mlir
index a7cd3558bc6fed..84270ee132231a 100644
--- a/mlir/test/Integration/Dialect/LLVMIR/CPU/test-vp-intrinsic.mlir
+++ b/mlir/test/Integration/Dialect/LLVMIR/CPU/test-vp-intrinsic.mlir
@@ -1,5 +1,5 @@
 // RUN: mlir-opt %s -convert-vector-to-scf -convert-scf-to-cf -convert-cf-to-llvm \
-// RUN: -convert-vector-to-llvm -convert-index-to-llvm -finalize-memref-to-llvm -convert-func-to-llvm \
+// RUN: -convert-vector-to-llvm -convert-index-to-llvm -finalize-memref-to-llvm -convert-func-to-llvm -convert-arith-to-llvm \
 // RUN: -reconcile-unrealized-casts | \
 // RUN: mlir-translate -mlir-to-llvmir | \
 // RUN: %lli --entry-function=entry \
diff --git a/mlir/test/Integration/Dialect/Linalg/CPU/runtime-verification.mlir b/mlir/test/Integration/Dialect/Linalg/CPU/runtime-verification.mlir
index b05ef9422e5967..c125d8041847f4 100644
--- a/mlir/test/Integration/Dialect/Linalg/CPU/runtime-verification.mlir
+++ b/mlir/test/Integration/Dialect/Linalg/CPU/runtime-verification.mlir
@@ -8,6 +8,7 @@
 // RUN: -convert-index-to-llvm \
 // RUN: -finalize-memref-to-llvm \
 // RUN: -convert-func-to-llvm \
+// RUN: -convert-arith-to-llvm \
 // RUN: -reconcile-unrealized-casts | \
 // RUN: mlir-cpu-runner -e main -entry-point-result=void \
 // RUN:     -shared-libs=%mlir_runner_utils \
diff --git a/mlir/test/Integration/Dialect/MemRef/cast-runtime-verification.mlir b/mlir/test/Integration/Dialect/MemRef/cast-runtime-verification.mlir
index 52b8c16d753da7..9f083c73c69a37 100644
--- a/mlir/test/Integration/Dialect/MemRef/cast-runtime-verification.mlir
+++ b/mlir/test/Integration/Dialect/MemRef/cast-runtime-verification.mlir
@@ -1,6 +1,8 @@
 // RUN: mlir-opt %s -generate-runtime-verification -finalize-memref-to-llvm \
 // RUN:     -test-cf-assert \
-// RUN:     -convert-func-to-llvm -reconcile-unrealized-casts | \
+// RUN:     -convert-func-to-llvm \
+// RUN:     -convert-arith-to-llvm \
+// RUN:     -reconcile-unrealized-casts | \
 // RUN: mlir-cpu-runner -e main -entry-point-result=void \
 // RUN:     -shared-libs=%mlir_runner_utils 2>&1 | \
 // RUN:...
[truncated]

``````````

</details>


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


More information about the Mlir-commits mailing list