From: Sanjay Patel Date: Tue, 25 Feb 2020 14:12:12 +0000 (-0500) Subject: [CodeGen] fix clang test that runs the optimizer pipeline; NFC X-Git-Tag: llvmorg-12-init~13714 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=83f4372f3a708ceaa800feff8b1bd92ae2c3be5f;p=platform%2Fupstream%2Fllvm.git [CodeGen] fix clang test that runs the optimizer pipeline; NFC There's already a FIXME note on this file; it can break when the underlying LLVM behavior changes independently of anything in clang. --- diff --git a/clang/test/CodeGen/complex-math.c b/clang/test/CodeGen/complex-math.c index e42418a..54dee47 100644 --- a/clang/test/CodeGen/complex-math.c +++ b/clang/test/CodeGen/complex-math.c @@ -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]]