summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@intel.com>2019-12-30 13:25:23 -0800
committerCraig Topper <craig.topper@intel.com>2019-12-30 13:25:23 -0800
commit70f8dd4cf604b2be3488895ef0d261154c1c1124 (patch)
treed60db89932469677a9cedc785954b9b64183e992 /llvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
parent8b23b2bbd9622c5f079a71c7078d167052f6a70c (diff)
downloadbcm5719-llvm-70f8dd4cf604b2be3488895ef0d261154c1c1124.tar.gz
bcm5719-llvm-70f8dd4cf604b2be3488895ef0d261154c1c1124.zip
[CodeGen] Use IRBuilder::CreateFNeg for __builtin_conj
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 checking the declare lines for libcalls. The latter just checked that we did not have a declare for @conj when using __builtin_conj. Differential Revision: https://reviews.llvm.org/D72012
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud