OSDN Git Service

LSR shouldn't ever try to hack on integer IV's larger than 64-bits. Right now
authorChris Lattner <sabre@nondot.org>
Tue, 17 Mar 2009 23:58:30 +0000 (23:58 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 17 Mar 2009 23:58:30 +0000 (23:58 +0000)
commitb7e64ac3acac46ed42b5d099d59af73bedabb6fc
treef0b4db3daf95465027fc9ca8613f09b9133b3f41
parent152932b71c488a6522c541f847eb3081cffb3793
LSR shouldn't ever try to hack on integer IV's larger than 64-bits.  Right now
it is not APInt clean, but even when it is it needs to be evaluated carefully
to determine whether it is actually profitable.

This fixes a crash on PR3806

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@67134 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/LoopStrengthReduce.cpp
test/CodeGen/Generic/2009-03-17-LSR-APInt.ll [new file with mode: 0644]