projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a8a118b
)
Remove dead return. Thanks to Bill for the review!
author
Chris Lattner
<sabre@nondot.org>
Thu, 8 May 2008 18:26:56 +0000
(18:26 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Thu, 8 May 2008 18:26:56 +0000
(18:26 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50863
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Analysis/ConstantFolding.cpp
patch
|
blob
|
history
diff --git
a/lib/Analysis/ConstantFolding.cpp
b/lib/Analysis/ConstantFolding.cpp
index e9efb292e5bd477a676b9a916138be05b1512bd7..91c745e9326072492727f9e43bf69f8f4637e660 100644
(file)
--- 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