summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-09-07 23:47:14 +0000
committerDan Gohman <gohman@apple.com>2009-09-07 23:47:14 +0000
commit2512a425481e02b21b2e412239c9fe70d9ff77fe (patch)
treef8944e7c5b0b682ef9249135a69fe97ae8609b2e /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parenta34a718c4bcaa6f266ccfc3b9f80a717be4f77b2 (diff)
downloadbcm5719-llvm-2512a425481e02b21b2e412239c9fe70d9ff77fe.tar.gz
bcm5719-llvm-2512a425481e02b21b2e412239c9fe70d9ff77fe.zip
Fix a thinko: When lowering fneg with xor, bitcast the operands
from floating-point to integer first, and bitcast the result back to floating-point. Previously, this test was passing by falling back to SelectionDAG lowering. The resulting code isn't as nice, but it's correct and CodeGen now stays on the fast path. llvm-svn: 81171
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud