diff options
author | Dale Johannesen <dalej@apple.com> | 2009-06-04 20:53:52 +0000 |
---|---|---|
committer | Dale Johannesen <dalej@apple.com> | 2009-06-04 20:53:52 +0000 |
commit | 4c9369df57a52cec5e1fc735e61a979766288074 (patch) | |
tree | 08e184c70ec5bc8698fe30859e040f72156e6514 /examples | |
parent | 073e7e5807991a9f614569426fdd6536728c01ca (diff) | |
download | external_llvm-4c9369df57a52cec5e1fc735e61a979766288074.zip external_llvm-4c9369df57a52cec5e1fc735e61a979766288074.tar.gz external_llvm-4c9369df57a52cec5e1fc735e61a979766288074.tar.bz2 |
Fix FP_TO_UINT->i32 on ppc32 -mcpu=g5. This was
using Promote which won't work because i64 isn't
a legal type. It's easy enough to use Custom, but
then we have the problem that when the type
legalizer is promoting FP_TO_UINT->i16, it has no
way of telling it should prefer FP_TO_SINT->i32
to FP_TO_UINT->i32. I have uncomfortably hacked
this by making the type legalizer choose FP_TO_SINT
when both are Custom.
This fixes several regressions in the testsuite.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72891 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions