aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Support/CommandLine.h
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
commitd87cf08c273a278afbd9583e25bd9c2c1755bf7b (patch)
tree08e184c70ec5bc8698fe30859e040f72156e6514 /include/llvm/Support/CommandLine.h
parent785d81ea5236df535d7718de53ad6fa7488118ac (diff)
downloadexternal_llvm-d87cf08c273a278afbd9583e25bd9c2c1755bf7b.zip
external_llvm-d87cf08c273a278afbd9583e25bd9c2c1755bf7b.tar.gz
external_llvm-d87cf08c273a278afbd9583e25bd9c2c1755bf7b.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 'include/llvm/Support/CommandLine.h')
0 files changed, 0 insertions, 0 deletions