Is there any way to pull this test out of clang and as an opt test? What's it trying to test?
-eric On Tue, Feb 25, 2020 at 6:15 AM Sanjay Patel via cfe-commits < cfe-commits@lists.llvm.org> wrote: > > Author: Sanjay Patel > Date: 2020-02-25T09:13:49-05:00 > New Revision: 83f4372f3a708ceaa800feff8b1bd92ae2c3be5f > > URL: > https://github.com/llvm/llvm-project/commit/83f4372f3a708ceaa800feff8b1bd92ae2c3be5f > DIFF: > https://github.com/llvm/llvm-project/commit/83f4372f3a708ceaa800feff8b1bd92ae2c3be5f.diff > > LOG: [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. > > Added: > > > Modified: > clang/test/CodeGen/complex-math.c > > Removed: > > > > > ################################################################################ > diff --git a/clang/test/CodeGen/complex-math.c > b/clang/test/CodeGen/complex-math.c > index e42418ad72c2..54dee473a364 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]] > > > > _______________________________________________ > cfe-commits mailing list > cfe-commits@lists.llvm.org > https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits >
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits