From bdd6acfb590dcc328c640b51bcb93009dae58aae Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Fri, 4 Jan 2008 05:04:53 +0000 Subject: Fix PR1896 llvm-svn: 45568 --- llvm/lib/Transforms/IPO/GlobalOpt.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/lib/Transforms') diff --git a/llvm/lib/Transforms/IPO/GlobalOpt.cpp b/llvm/lib/Transforms/IPO/GlobalOpt.cpp index 2e2648ff06c..c3c0530bb1c 100644 --- a/llvm/lib/Transforms/IPO/GlobalOpt.cpp +++ b/llvm/lib/Transforms/IPO/GlobalOpt.cpp @@ -640,7 +640,7 @@ static bool OptimizeAwayTrappingUsesOfLoads(GlobalVariable *GV, Constant *LV) { // If we get here we could have stores, selects, or phi nodes whose values // are loaded. assert((isa(*GUI) || isa(*GUI) || - isa(*GUI)) && + isa(*GUI) || isa(*GUI)) && "Only expect load and stores!"); } -- cgit v1.2.3