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 | 948e95a381bf6771639703643ef75e0115b35f53 (patch) | |
tree | 5a2da25ea02beb3971514295e559333e6a6180bb /lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp | |
parent | db917fe8aa183ae0644c53d8a60f57bd5877686c (diff) |
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72324 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp')
0 files changed, 0 insertions, 0 deletions