summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/ConstantFolding.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2008-05-08 18:26:56 +0000
committerChris Lattner <sabre@nondot.org>2008-05-08 18:26:56 +0000
commitd12c519b74709efff52d72de5e4fb8322ad1993b (patch)
treed2eaa9b4c438424c2c500816e0e92e1047c44821 /llvm/lib/Analysis/ConstantFolding.cpp
parentb1c02371cddb84ed102b91577db1ef9efb4cbe22 (diff)
downloadbcm5719-llvm-d12c519b74709efff52d72de5e4fb8322ad1993b.tar.gz
bcm5719-llvm-d12c519b74709efff52d72de5e4fb8322ad1993b.zip
Remove dead return. Thanks to Bill for the review!
llvm-svn: 50863
Diffstat (limited to 'llvm/lib/Analysis/ConstantFolding.cpp')
-rw-r--r--llvm/lib/Analysis/ConstantFolding.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/lib/Analysis/ConstantFolding.cpp b/llvm/lib/Analysis/ConstantFolding.cpp
index e9efb292e5b..91c745e9326 100644
--- a/llvm/lib/Analysis/ConstantFolding.cpp
+++ b/llvm/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
OpenPOWER on IntegriCloud