summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2007-10-15 05:46:06 +0000
committerChris Lattner <sabre@nondot.org>2007-10-15 05:46:06 +0000
commitb193517eedb8f4c6d62d1d7ab55a0aeca44c286a (patch)
tree0fabe8eb463738666affb382f1feea8eae0e3142 /llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
parent2b827fd70d584967fc15501efae0ca702fff7eff (diff)
downloadbcm5719-llvm-b193517eedb8f4c6d62d1d7ab55a0aeca44c286a.tar.gz
bcm5719-llvm-b193517eedb8f4c6d62d1d7ab55a0aeca44c286a.zip
One xform performed by LegalizeDAG is transformation of "store of fp" to "store of int".
Make two changes: 1) only xform "store of f32" if i32 is a legal type for the target. 2) only xform "store of f64" if either i64 or i32 are legal for the target. 3) if i64 isn't legal, manually lower to 2 stores of i32 instead of letting a later pass of legalize do it. This is ugly, but helps future changes I'm about to commit. llvm-svn: 42980
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud