From 916fec41fb3e0645a9e2bc5e36458391ba79550d Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Fri, 18 Dec 2009 02:14:37 +0000 Subject: [PATCH] Delete an unused variable. llvm-svn: 91659 --- llvm/lib/Analysis/ScalarEvolution.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/llvm/lib/Analysis/ScalarEvolution.cpp b/llvm/lib/Analysis/ScalarEvolution.cpp index 551c25f07c3b..75572a7ba20f 100644 --- a/llvm/lib/Analysis/ScalarEvolution.cpp +++ b/llvm/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,