[Mlir-commits] [mlir] ccf042e - [mlir][complex] Make CPU runner test platform agnostic (#85607)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Tue Mar 19 04:03:10 PDT 2024
Author: Kai Sasaki
Date: 2024-03-19T20:03:05+09:00
New Revision: ccf042e90e1b987d69f01378ed89b832f86d434a
URL: https://github.com/llvm/llvm-project/commit/ccf042e90e1b987d69f01378ed89b832f86d434a
DIFF: https://github.com/llvm/llvm-project/commit/ccf042e90e1b987d69f01378ed89b832f86d434a.diff
LOG: [mlir][complex] Make CPU runner test platform agnostic (#85607)
Added:
Modified:
mlir/test/Integration/Dialect/Complex/CPU/correctness.mlir
Removed:
################################################################################
diff --git a/mlir/test/Integration/Dialect/Complex/CPU/correctness.mlir b/mlir/test/Integration/Dialect/Complex/CPU/correctness.mlir
index a42ed6968d3700..441f7500538f7e 100644
--- a/mlir/test/Integration/Dialect/Complex/CPU/correctness.mlir
+++ b/mlir/test/Integration/Dialect/Complex/CPU/correctness.mlir
@@ -9,9 +9,6 @@
// RUN: -shared-libs=%mlir_c_runner_utils |\
// RUN: FileCheck %s
-// XFAIL: target=aarch64{{.*}}
-// See: https://github.com/llvm/llvm-project/issues/58531
-
func.func @test_unary(%input: tensor<?xcomplex<f32>>,
%func: (complex<f32>) -> complex<f32>) {
%c0 = arith.constant 0 : index
@@ -189,8 +186,9 @@ func.func @entry() {
// CHECK-NEXT: 0
// CHECK-NEXT: 0
(0.0, 0.0), (-1.0, 0.0),
- // CHECK-NEXT: -nan
- // CHECK-NEXT: -nan
+ // Ignoring the sign of nan as that can't be tested in platform agnostic manner. See: #58531
+ // CHECK-NEXT: nan
+ // CHECK-NEXT: nan
(1.0, 1.0), (1.0, 1.0)
// CHECK-NEXT: 0.273
// CHECK-NEXT: 0.583
More information about the Mlir-commits
mailing list