[PATCH] D75130: Remove BinaryOperator::CreateFNeg

2020-02-27 Thread Simon Moll via Phabricator via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rGddd11273d9d0: Remove BinaryOperator::CreateFNeg (authored by simoll). Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D75130/new/ https://reviews.llvm.org/D751

[PATCH] D75130: Remove BinaryOperator::CreateFNeg

2020-02-27 Thread Simon Moll via Phabricator via cfe-commits
simoll updated this revision to Diff 246974. simoll added a comment. - rebased Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D75130/new/ https://reviews.llvm.org/D75130 Files: clang/test/CodeGen/complex-math.c llvm/include/llvm/IR/InstrTypes.h

[PATCH] D75130: Remove BinaryOperator::CreateFNeg

2020-02-26 Thread Cameron McInally via Phabricator via cfe-commits
cameron.mcinally accepted this revision. cameron.mcinally added a comment. This revision is now accepted and ready to land. LGTM, with the TODO to be handled under a separate patch. Thank you for taking care of this, Simon. Comment at: llvm/lib/Transforms/InstCombine/InstCombi

[PATCH] D75130: Remove BinaryOperator::CreateFNeg

2020-02-25 Thread Dávid Bolvanský via Phabricator via cfe-commits
xbolva00 added inline comments. Comment at: llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp:341 Value *NewSel = Builder.CreateSelect(Cond, X, Y, SI.getName() + ".v", &SI); // TODO: Remove the hack for the binop form when the unary op is optimized // pro

[PATCH] D75130: Remove BinaryOperator::CreateFNeg

2020-02-25 Thread Simon Moll via Phabricator via cfe-commits
simoll marked an inline comment as done. simoll added inline comments. Comment at: llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp:341 Value *NewSel = Builder.CreateSelect(Cond, X, Y, SI.getName() + ".v", &SI); // TODO: Remove the hack for the binop form when the

[PATCH] D75130: Remove BinaryOperator::CreateFNeg

2020-02-25 Thread Dávid Bolvanský via Phabricator via cfe-commits
xbolva00 added inline comments. Comment at: llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp:341 Value *NewSel = Builder.CreateSelect(Cond, X, Y, SI.getName() + ".v", &SI); // TODO: Remove the hack for the binop form when the unary op is optimized // pro

[PATCH] D75130: Remove BinaryOperator::CreateFNeg

2020-02-25 Thread Simon Moll via Phabricator via cfe-commits
simoll updated this revision to Diff 246544. simoll added a comment. Herald added a project: clang. Herald added a subscriber: cfe-commits. - rebased - fixed clang complex-math test Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D75130/new/ https://r