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:
5e63990
)
Delete an unused variable.
author
Dan Gohman
<gohman@apple.com>
Fri, 18 Dec 2009 02:14:37 +0000
(
02:14
+0000)
committer
Dan Gohman
<gohman@apple.com>
Fri, 18 Dec 2009 02:14:37 +0000
(
02:14
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91659
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Analysis/ScalarEvolution.cpp
patch
|
blob
|
history
diff --git
a/lib/Analysis/ScalarEvolution.cpp
b/lib/Analysis/ScalarEvolution.cpp
index 551c25f07c3b4b1e8eee573ce5885e982a852120..75572a7ba20f1d3d2e29efe6c40dd3b3b1854d45 100644
(file)
--- a/
lib/Analysis/ScalarEvolution.cpp
+++ b/
lib/Analysis/ScalarEvolution.cpp
@@
-2624,7
+2624,6
@@
const SCEV *ScalarEvolution::createNodeForGEP(GEPOperator *GEP) {
// Getelementptr indicies are signed.
LocalOffset = getTruncateOrSignExtend(LocalOffset, IntPtrTy);
// Lower "inbounds" GEPs to NSW arithmetic.
- bool HasNSW = GEP->isInBounds();
LocalOffset = getMulExpr(LocalOffset, getAllocSizeExpr(*GTI),
/*HasNUW=*/false, /*HasNSW=*/InBounds);
TotalOffset = getAddExpr(TotalOffset, LocalOffset,