Delete an unused variable.
authorDan Gohman <gohman@apple.com>
Fri, 18 Dec 2009 02:14:37 +0000 (02:14 +0000)
committerDan 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

index 551c25f07c3b4b1e8eee573ce5885e982a852120..75572a7ba20f1d3d2e29efe6c40dd3b3b1854d45 100644 (file)
@@ -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,