From: Simon Pilgrim Date: Sat, 11 May 2019 11:00:37 +0000 (+0000) Subject: SelectionDAGISel::CodeGenAndEmitDAG - remove unused variable. NFCI. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=339850574d0f7dbc48251845ca92989589915783;p=llvm SelectionDAGISel::CodeGenAndEmitDAG - remove unused variable. NFCI. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@360514 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp index 61c9e5a5252..e76628435f7 100644 --- a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp +++ b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp @@ -742,8 +742,6 @@ void SelectionDAGISel::CodeGenAndEmitDAG() { StringRef GroupName = "sdag"; StringRef GroupDescription = "Instruction Selection and Scheduling"; std::string BlockName; - int BlockNumber = -1; - (void)BlockNumber; bool MatchFilterBB = false; (void)MatchFilterBB; #ifndef NDEBUG TargetTransformInfo &TTI = @@ -764,7 +762,6 @@ void SelectionDAGISel::CodeGenAndEmitDAG() { ViewSUnitDAGs) #endif { - BlockNumber = FuncInfo->MBB->getNumber(); BlockName = (MF->getName() + ":" + FuncInfo->MBB->getBasicBlock()->getName()).str(); }