summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp
diff options
context:
space:
mode:
authorHal Finkel <hfinkel@anl.gov>2013-08-19 06:55:37 +0000
committerHal Finkel <hfinkel@anl.gov>2013-08-19 06:55:37 +0000
commite4eb78188ca10aa9910ca8676148ec782191d639 (patch)
treecd1124cb186968666eb5e411062b21d7a8312d2d /llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp
parent2b3ba7480edac3f4e9eddde5db31482aaaf70d4e (diff)
downloadbcm5719-llvm-e4eb78188ca10aa9910ca8676148ec782191d639.tar.gz
bcm5719-llvm-e4eb78188ca10aa9910ca8676148ec782191d639.zip
Add ExpandFloatOp_FCOPYSIGN to handle ppcf128-related expansions
We had previously been asserting when faced with a FCOPYSIGN f64, ppcf128 node because there was no way to expand the FCOPYSIGN node. Because ppcf128 is the sum of two doubles, and the first double must have the larger magnitude, we can take the sign from the first double. As a result, in addition to fixing the crash, this is also an optimization. llvm-svn: 188655
Diffstat (limited to 'llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud