From dfd5ee9b42bbda8bd797616d7b0d2179b73d5c4f Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Thu, 8 May 2008 18:26:56 +0000 Subject: [PATCH] Remove dead return. Thanks to Bill for the review! llvm-svn: 50863 --- lib/Analysis/ConstantFolding.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/Analysis/ConstantFolding.cpp b/lib/Analysis/ConstantFolding.cpp index e9efb292e5b..91c745e9326 100644 --- a/lib/Analysis/ConstantFolding.cpp +++ b/lib/Analysis/ConstantFolding.cpp @@ -148,8 +148,6 @@ static Constant *SymbolicallyEvaluateGEP(Constant* const* Ops, unsigned NumOps, (Value**)Ops+1, NumOps-1); Constant *C = ConstantInt::get(TD->getIntPtrType(), Offset+BasePtr); return ConstantExpr::getIntToPtr(C, ResultTy); - - return 0; } /// FoldBitCast - Constant fold bitcast, symbolically evaluating it with