[CodeGen] fix clang test that runs the optimizer pipeline; NFC
authorSanjay Patel <spatel@rotateright.com>
Tue, 25 Feb 2020 14:12:12 +0000 (09:12 -0500)
committerSanjay Patel <spatel@rotateright.com>
Tue, 25 Feb 2020 14:13:49 +0000 (09:13 -0500)
There's already a FIXME note on this file; it can break when the
underlying LLVM behavior changes independently of anything in clang.

clang/test/CodeGen/complex-math.c

index e42418a..54dee47 100644 (file)
@@ -93,14 +93,15 @@ float _Complex mul_float_rc(float a, float _Complex b) {
   // X86: ret
   return a * b;
 }
+
 float _Complex mul_float_cc(float _Complex a, float _Complex b) {
   // X86-LABEL: @mul_float_cc(
   // X86: %[[AC:[^ ]+]] = fmul
   // X86: %[[BD:[^ ]+]] = fmul
   // X86: %[[AD:[^ ]+]] = fmul
   // X86: %[[BC:[^ ]+]] = fmul
-  // X86: %[[RR:[^ ]+]] = fsub float %[[AC]], %[[BD]]
-  // X86: %[[RI:[^ ]+]] = fadd float
+  // X86: %[[RR:[^ ]+]] = fsub
+  // X86: %[[RI:[^ ]+]] = fadd
   // X86-DAG: %[[AD]]
   // X86-DAG: ,
   // X86-DAG: %[[BC]]