LCSSA: Add a workaround for another nasty SCEV cache invalidation issue.
authorBenjamin Kramer <benny.kra@googlemail.com>
Wed, 31 Oct 2012 10:01:29 +0000 (10:01 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Wed, 31 Oct 2012 10:01:29 +0000 (10:01 +0000)
commit4ad3d981b91ac1293b8f2be29e6452d5206107b8
treea46424493dbc6d8e6e735e80580ef0a56a0250a5
parent0ceb855d5251c67c3a129c172a520c1d2682c344
LCSSA: Add a workaround for another nasty SCEV cache invalidation issue.

I'm not entirely happy with this solution, but I don't see a smarter way currently.
Fixes PR14214.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@167112 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Utils/LCSSA.cpp
test/Transforms/LoopIdiom/scev-invalidation.ll [new file with mode: 0644]