[Mlir-commits] [mlir] [mlir][complex] Fix canonicalize tests formatting (NFC) (PR #213259)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Fri Jul 31 06:19:09 PDT 2026
================
@@ -68,7 +68,7 @@ func.func @complex_add_sub_lhs() -> complex<f32> {
%complex1 = complex.constant [1.0 : f32, 0.0 : f32] : complex<f32>
%complex2 = complex.constant [0.0 : f32, 2.0 : f32] : complex<f32>
// CHECK: %[[CPLX:.*]] = complex.constant [1.000000e+00 : f32, 0.000000e+00 : f32] : complex<f32>
- // CHECK-NEXT: return %[[CPLX:.*]] : complex<f32>
+ // CHECK-NEXT: return %[[CPLX]] : complex<f32>
----------------
Brythzz wrote:
Since it was a CHECK-NEXT it was effectively checking that the arithmetic ops were removed. But yes, it didn't check if what was returned was valid.
https://github.com/llvm/llvm-project/pull/213259
More information about the Mlir-commits
mailing list