Merging r202273:
authorTom Stellard <thomas.stellard@amd.com>
Tue, 8 Apr 2014 21:18:14 +0000 (21:18 +0000)
committerTom Stellard <thomas.stellard@amd.com>
Tue, 8 Apr 2014 21:18:14 +0000 (21:18 +0000)
commit76bf269759e5e18566e2cb3af119c1f509eba110
treec7a530a4bf912dac9467e81d1d875d4fa5511bf9
parentdbb5c29d89d7d0e1d80a3863e436e4d2082e3c22
Merging r202273:

------------------------------------------------------------------------
r202273 | atrick | 2014-02-26 11:31:56 -0500 (Wed, 26 Feb 2014) | 4 lines

Fix PR18165: LSR must avoid scaling factors that exceed the limit on truncated use.

Patch by Michael Zolotukhin!

------------------------------------------------------------------------

git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_34@205796 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/LoopStrengthReduce.cpp
test/Transforms/LoopStrengthReduce/pr18165.ll [new file with mode: 0644]