diff options
author | Dan Gohman <gohman@apple.com> | 2009-09-07 23:47:14 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2009-09-07 23:47:14 +0000 |
commit | 2512a425481e02b21b2e412239c9fe70d9ff77fe (patch) | |
tree | f8944e7c5b0b682ef9249135a69fe97ae8609b2e /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
parent | a34a718c4bcaa6f266ccfc3b9f80a717be4f77b2 (diff) | |
download | bcm5719-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