diff options
author | Eli Friedman <eli.friedman@gmail.com> | 2009-05-23 09:59:16 +0000 |
---|---|---|
committer | Eli Friedman <eli.friedman@gmail.com> | 2009-05-23 09:59:16 +0000 |
commit | dfe4f253557e3b71a7129635926b40280e7f69d2 (patch) | |
tree | 08a232c733c15823f4bd2f7684fb47c6aefe277d /llvm/lib/Transforms/Utils/BasicInliner.cpp | |
parent | 8673657275819f80a34fec9afe112d061ee6e8e3 (diff) | |
download | bcm5719-llvm-dfe4f253557e3b71a7129635926b40280e7f69d2.tar.gz bcm5719-llvm-dfe4f253557e3b71a7129635926b40280e7f69d2.zip |
Make the x86 backend custom-lower UINT_TO_FP and FP_TO_UINT on 32-bit
systems instead of attempting to promote them to a 64-bit SINT_TO_FP or
FP_TO_SINT. This is in preparation for removing the type legalization
code from LegalizeDAG: once type legalization is gone from LegalizeDAG,
it won't be able to handle the i64 operand/result correctly.
This isn't quite ideal, but I don't think any other operation for any
target ends up in this situation, so treating this case specially seems
reasonable.
llvm-svn: 72324
Diffstat (limited to 'llvm/lib/Transforms/Utils/BasicInliner.cpp')
0 files changed, 0 insertions, 0 deletions