summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/red-zone2.ll
diff options
context:
space:
mode:
authorDale Johannesen <dalej@apple.com>2009-06-04 20:53:52 +0000
committerDale Johannesen <dalej@apple.com>2009-06-04 20:53:52 +0000
commit4c9369df57a52cec5e1fc735e61a979766288074 (patch)
tree08e184c70ec5bc8698fe30859e040f72156e6514 /test/CodeGen/X86/red-zone2.ll
parent073e7e5807991a9f614569426fdd6536728c01ca (diff)
downloadllvm-4c9369df57a52cec5e1fc735e61a979766288074.tar.gz
llvm-4c9369df57a52cec5e1fc735e61a979766288074.tar.bz2
llvm-4c9369df57a52cec5e1fc735e61a979766288074.tar.xz
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 'test/CodeGen/X86/red-zone2.ll')
0 files changed, 0 insertions, 0 deletions