diff options
| author | Chris Lattner <sabre@nondot.org> | 2007-10-15 05:46:06 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2007-10-15 05:46:06 +0000 |
| commit | b193517eedb8f4c6d62d1d7ab55a0aeca44c286a (patch) | |
| tree | 0fabe8eb463738666affb382f1feea8eae0e3142 /llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp | |
| parent | 2b827fd70d584967fc15501efae0ca702fff7eff (diff) | |
| download | bcm5719-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

