]> granicus.if.org Git - llvm/commitdiff
SelectionDAGISel::CodeGenAndEmitDAG - remove unused variable. NFCI.
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Sat, 11 May 2019 11:00:37 +0000 (11:00 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Sat, 11 May 2019 11:00:37 +0000 (11:00 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@360514 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp

index 61c9e5a5252558ba462acff564c1a1fb0e7bd061..e76628435f765c3b3c815d79d147b0a691973292 100644 (file)
@@ -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();
   }