[Mlir-commits] [mlir] [mlir][arith] Fix build after #171024 (PR #171057)
Matthias Springer
llvmlistbot at llvm.org
Sun Dec 7 12:46:00 PST 2025
https://github.com/matthias-springer updated https://github.com/llvm/llvm-project/pull/171057
>From 3367ce11635b875b759754adbfc561ac984efac2 Mon Sep 17 00:00:00 2001
From: Matthias Springer <me at m-sp.org>
Date: Sun, 7 Dec 2025 20:40:12 +0000
Subject: [PATCH] [mlir][arith] Fix build after #171024
---
.../Dialect/Arith/CPU/test-apfloat-emulation-vector.mlir | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
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