fix a globalopt crash on two Adobe-C++ testcases that the recent
commit1ffc5f521ba599b66beb54e5e258f485e12f13ad
authorChris Lattner <sabre@nondot.org>
Sat, 1 Jan 2011 22:31:46 +0000 (1 22:31 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 1 Jan 2011 22:31:46 +0000 (1 22:31 +0000)
treefb9d11e0782f1d03a20e09d2d5d041486f153535
parentbd26e4de4582f91a9a8741fbf74ba953512fa13b
fix a globalopt crash on two Adobe-C++ testcases that the recent
loop idiom pass exposed.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122674 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/IPO/GlobalOpt.cpp
test/Transforms/GlobalOpt/crash.ll