Skip to content
Commit 2512a425 authored by Dan Gohman's avatar Dan Gohman
Browse files

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
parent a34a718c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment