From 06a456b3f415668b2e05cea7b8464d5b20ffe06e Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Tue, 16 Dec 2008 21:04:51 +0000 Subject: fix a crash found by inspection. llvm-svn: 61101 --- llvm/lib/Transforms/IPO/GlobalOpt.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/lib/Transforms/IPO/GlobalOpt.cpp') diff --git a/llvm/lib/Transforms/IPO/GlobalOpt.cpp b/llvm/lib/Transforms/IPO/GlobalOpt.cpp index 1588486597a..ac8ff115fae 100644 --- a/llvm/lib/Transforms/IPO/GlobalOpt.cpp +++ b/llvm/lib/Transforms/IPO/GlobalOpt.cpp @@ -1055,7 +1055,7 @@ static bool GlobalLoadUsesSimpleEnoughForHeapSRA(GlobalVariable *GV, // Otherwise, we don't know what it is. return false; } - return true; + continue; } // Otherwise we don't know what this is, not ok. -- cgit v1.2.3