Semantically revert 151015. Add a comment on why we should be able to assert
authorRafael Espindola <rafael.espindola@gmail.com>
Wed, 22 Feb 2012 03:21:39 +0000 (03:21 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Wed, 22 Feb 2012 03:21:39 +0000 (03:21 +0000)
commit919a503458c18472984c7c37b305110c9ba3a782
treec279b9ee5861f0fd3dabbfbf51581382d066e4da
parent57708abb10223a1a57334549c23eb93e5bbf18e6
Semantically revert 151015. Add a comment on why we should be able to assert
the dominance once the dominates method is fixed and why we can use the builder's
insertion point.
Fixes pr12048.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@151125 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/ScalarEvolutionExpander.cpp
test/Transforms/LoopStrengthReduce/pr12048.ll [new file with mode: 0644]