commit | c4d34a74cd602a2a0438efade40a536d67ed38a3 | [log] [tgz] |
---|---|---|
author | Dan Gohman <gohman@apple.com> | Mon Sep 07 23:47:14 2009 +0000 |
committer | Dan Gohman <gohman@apple.com> | Mon Sep 07 23:47:14 2009 +0000 |
tree | 2c8f7da09927b260b34858fe300bc8c910f72a52 | |
parent | 466291fd5924c11599be837375214d41ef7f518a [diff] |
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