[llvm-commits] [llvm] r91659 - /llvm/trunk/lib/Analysis/ScalarEvolution.cpp
Dan Gohman
gohman at apple.com
Thu Dec 17 18:14:38 PST 2009
Author: djg
Date: Thu Dec 17 20:14:37 2009
New Revision: 91659
URL: http://llvm.org/viewvc/llvm-project?rev=91659&view=rev
Log:
Delete an unused variable.
Modified:
llvm/trunk/lib/Analysis/ScalarEvolution.cpp
Modified: llvm/trunk/lib/Analysis/ScalarEvolution.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/ScalarEvolution.cpp?rev=91659&r1=91658&r2=91659&view=diff
==============================================================================
--- llvm/trunk/lib/Analysis/ScalarEvolution.cpp (original)
+++ llvm/trunk/lib/Analysis/ScalarEvolution.cpp Thu Dec 17 20:14:37 2009
@@ -2624,7 +2624,6 @@
// 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,
More information about the llvm-commits
mailing list