[Mlir-commits] [mlir] [mlir][complex] Fix canonicalize tests formatting (NFC) (PR #213259)

Mehdi Amini llvmlistbot at llvm.org
Fri Jul 31 05:35:03 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>
----------------
joker-eph wrote:

This is more than "formatting", the test wasn't actually checking what it intended here.

https://github.com/llvm/llvm-project/pull/213259


More information about the Mlir-commits mailing list