summaryrefslogtreecommitdiff
path: root/include/llvm
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
commitfd06aa7c076f397b307ddd638a2666f4090ee2b1 (patch)
tree2c8f7da09927b260b34858fe300bc8c910f72a52 /include/llvm
parent6e9057b0ef152f7a0ef7b2c523f7b10f20ba9197 (diff)
downloadllvm-fd06aa7c076f397b307ddd638a2666f4090ee2b1.tar.gz
llvm-fd06aa7c076f397b307ddd638a2666f4090ee2b1.tar.bz2
llvm-fd06aa7c076f397b307ddd638a2666f4090ee2b1.tar.xz
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81171 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm')
0 files changed, 0 insertions, 0 deletions