Make LSR not crash if invoked without target lowering info, e.g. if invoked
authorJohn McCall <rjmccall@apple.com>
Sat, 13 Feb 2010 23:40:16 +0000 (23:40 +0000)
committerJohn McCall <rjmccall@apple.com>
Sat, 13 Feb 2010 23:40:16 +0000 (23:40 +0000)
commit6d09ab8ba2217bcf5a55f0c421d4787e223fc91b
tree78cef3bc58afe199026ae2ca9d1d35857d3afe0a
parent77ffe3b31e32fbbcb06e71c8a68129df6266a492
Make LSR not crash if invoked without target lowering info, e.g. if invoked
from opt.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96135 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/LoopStrengthReduce.cpp