[llvm-commits] [llvm] r50863 - /llvm/trunk/lib/Analysis/ConstantFolding.cpp
Chris Lattner
sabre at nondot.org
Thu May 8 11:26:57 PDT 2008
Author: lattner
Date: Thu May 8 13:26:56 2008
New Revision: 50863
URL: http://llvm.org/viewvc/llvm-project?rev=50863&view=rev
Log:
Remove dead return. Thanks to Bill for the review!
Modified:
llvm/trunk/lib/Analysis/ConstantFolding.cpp
Modified: llvm/trunk/lib/Analysis/ConstantFolding.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/ConstantFolding.cpp?rev=50863&r1=50862&r2=50863&view=diff
==============================================================================
--- llvm/trunk/lib/Analysis/ConstantFolding.cpp (original)
+++ llvm/trunk/lib/Analysis/ConstantFolding.cpp Thu May 8 13:26:56 2008
@@ -148,8 +148,6 @@
(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
More information about the llvm-commits
mailing list