[PATCH] D72012: [CodeGen] Use IRBuilder::CreateFNeg for __builtin_conj

2019-12-30 Thread Craig Topper via Phabricator via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rG70f8dd4cf604: [CodeGen] Use IRBuilder::CreateFNeg for __builtin_conj (authored by craig.topper). Herald added a project: clang. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://r

[PATCH] D72012: [CodeGen] Use IRBuilder::CreateFNeg for __builtin_conj

2019-12-30 Thread Craig Topper via Phabricator via cfe-commits
craig.topper created this revision. craig.topper added reviewers: spatel, efriedma, rjmccall, cameron.mcinally. This replaces the fsub -0.0 idiom with an fneg instruction. We didn't see to have a test that showed the current codegen. Just some tests for constant folding and a test that was only