[Mlir-commits] [mlir] 8378a6f - [mlir][arith] Fix build after #171024 (#171057)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Sun Dec 7 12:48:04 PST 2025


Author: Matthias Springer
Date: 2025-12-07T21:48:00+01:00
New Revision: 8378a6fa4f5c83298fb0b5e240bb7f254f7b1137

URL: https://github.com/llvm/llvm-project/commit/8378a6fa4f5c83298fb0b5e240bb7f254f7b1137
DIFF: https://github.com/llvm/llvm-project/commit/8378a6fa4f5c83298fb0b5e240bb7f254f7b1137.diff

LOG: [mlir][arith] Fix build after #171024 (#171057)

Fix build after #171024.

Added: 
    

Modified: 
    mlir/test/Integration/Dialect/Arith/CPU/test-apfloat-emulation-vector.mlir

Removed: 
    


################################################################################
diff  --git a/mlir/test/Integration/Dialect/Arith/CPU/test-apfloat-emulation-vector.mlir b/mlir/test/Integration/Dialect/Arith/CPU/test-apfloat-emulation-vector.mlir
index 3b94dc48a9181..5f8b2f4efcf24 100644
--- a/mlir/test/Integration/Dialect/Arith/CPU/test-apfloat-emulation-vector.mlir
+++ b/mlir/test/Integration/Dialect/Arith/CPU/test-apfloat-emulation-vector.mlir
@@ -3,7 +3,7 @@
 // mlir_apfloat_wrappers in a platform-independent way.
 
 // All floating-point arithmetics is lowered through APFloat.
-// RUN: mlir-opt %s --convert-arith-to-apfloat --convert-scf-to-vector | \
+// RUN: mlir-opt %s --convert-arith-to-apfloat --convert-vector-to-scf \
 // RUN:     --convert-scf-to-cf --convert-to-llvm | \
 // RUN: mlir-runner -e entry --entry-point-result=void \
 // RUN:             --shared-libs=%mlir_c_runner_utils \
@@ -17,7 +17,7 @@ func.func @foo_vec() -> (vector<4xf8E4M3FN>, vector<4xf32>) {
 }
 
 func.func @entry() {
-  // CHECK-NEXT: ( 3.5, 3.5, 3.5, 3.5 )
+  // CHECK: ( 3.5, 3.5, 3.5, 3.5 )
   %a1_vec = arith.constant dense<[1.4, 1.4, 1.4, 1.4]> : vector<4xf8E4M3FN>
   %b1_vec, %b2_vec = func.call @foo_vec() : () -> (vector<4xf8E4M3FN>, vector<4xf32>)
   %c1_vec = arith.addf %a1_vec, %b1_vec : vector<4xf8E4M3FN>  // not supported by LLVM


        


More information about the Mlir-commits mailing list