Skip to content

Commit f7a36a6

Browse files
Lewuathechencha3
authored andcommitted
[mlir][complex] Make CPU runner test platform agnostic (llvm#85607)
1 parent 061730b commit f7a36a6

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

mlir/test/Integration/Dialect/Complex/CPU/correctness.mlir

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,6 @@
99
// RUN: -shared-libs=%mlir_c_runner_utils |\
1010
// RUN: FileCheck %s
1111

12-
// XFAIL: target=aarch64{{.*}}
13-
// See: https://github.com/llvm/llvm-project/issues/58531
14-
1512
func.func @test_unary(%input: tensor<?xcomplex<f32>>,
1613
%func: (complex<f32>) -> complex<f32>) {
1714
%c0 = arith.constant 0 : index
@@ -189,8 +186,9 @@ func.func @entry() {
189186
// CHECK-NEXT: 0
190187
// CHECK-NEXT: 0
191188
(0.0, 0.0), (-1.0, 0.0),
192-
// CHECK-NEXT: -nan
193-
// CHECK-NEXT: -nan
189+
// Ignoring the sign of nan as that can't be tested in platform agnostic manner. See: #58531
190+
// CHECK-NEXT: nan
191+
// CHECK-NEXT: nan
194192
(1.0, 1.0), (1.0, 1.0)
195193
// CHECK-NEXT: 0.273
196194
// CHECK-NEXT: 0.583

0 commit comments

Comments
 (0)