fix a crash found by inspection.
authorChris Lattner <sabre@nondot.org>
Tue, 16 Dec 2008 21:04:51 +0000 (21:04 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 16 Dec 2008 21:04:51 +0000 (21:04 +0000)
commit542dc1a0decc2b598a1f856370a55091a51e102c
tree703d355134706cab84a7beca0ea2463f5a679f64
parent080efb8cea6255b4f1f373d9cb583d6a6302106b
fix a crash found by inspection.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61101 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/IPO/GlobalOpt.cpp
test/Transforms/GlobalOpt/2008-12-16-HeapSRACrash.ll [new file with mode: 0644]
test/Transforms/GlobalOpt/heap-sra-2.ll