summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-04-08 05:41:03 +0000
committerChris Lattner <sabre@nondot.org>2009-04-08 05:41:03 +0000
commiteb510d6b3ded2f3be58947282ed038c72f9c56bd (patch)
tree5b9d59abc16421bb9513112e9c6f21fe7cae28a0 /llvm/lib/CodeGen
parent4b489c75c24b31f7310501dde48ca7ea3676e0af (diff)
downloadbcm5719-llvm-eb510d6b3ded2f3be58947282ed038c72f9c56bd.tar.gz
bcm5719-llvm-eb510d6b3ded2f3be58947282ed038c72f9c56bd.zip
Instcombine should not promote whole computation trees to "strange"
integer types, unless they are already strange. This prevents it from turning the code produced by SROA into crazy libcalls and stuff that the code generator can't handle. In the attached example, the result was an i96 multiply that caused the x86 backend to assert. Note that if TargetData had an idea of what the legal types are for a target that this could be used to stop instcombine from introducing i64 muls, as Scott wanted. llvm-svn: 68598
Diffstat (limited to 'llvm/lib/CodeGen')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud