Don't delete one more instruction than we're allowed to. This should fix the
authorNick Lewycky <nicholas@mxc.ca>
Tue, 24 Jul 2012 21:33:00 +0000 (21:33 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Tue, 24 Jul 2012 21:33:00 +0000 (21:33 +0000)
commit952f5d562c40bc19147df4fbf3415069659236d1
treea0ccf963deb77dcd79c2494a6e7ad9648a121f7b
parent9669f749764997ab7033d5c4b0546fe739dd71d8
Don't delete one more instruction than we're allowed to. This should fix the
Darwin bootstrap. Testcase exists but isn't fully reduced, I expect to commit
the testcase this evening.

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