OSDN Git Service

[IRCE] Fix a regression introduced in r232444.
authorSanjoy Das <sanjoy@playingwithpointers.com>
Tue, 24 Mar 2015 19:29:18 +0000 (19:29 +0000)
committerSanjoy Das <sanjoy@playingwithpointers.com>
Tue, 24 Mar 2015 19:29:18 +0000 (19:29 +0000)
commit33a864aae22acdca97244e8cca29b1b9a26ab881
treeb51667fe5a2bf598d0a52d4b1abb123dd4e7173d
parentfe76881930ac5a3eb9e523844e74f14c068e2281
[IRCE] Fix a regression introduced in r232444.

IRCE should not try to eliminate range checks that check an induction
variable against a loop-varying length.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@233101 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/InductiveRangeCheckElimination.cpp
test/Transforms/IRCE/bug-loop-varying-upper-limit.ll [new file with mode: 0644]