OSDN Git Service

[llvm-mca] Remove redundant call. NFC
authorAndrea Di Biagio <Andrea_DiBiagio@sn.scee.net>
Fri, 22 Jun 2018 17:03:40 +0000 (17:03 +0000)
committerAndrea Di Biagio <Andrea_DiBiagio@sn.scee.net>
Fri, 22 Jun 2018 17:03:40 +0000 (17:03 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@335368 91177308-0d34-0410-b5e6-96231b3b80d8

tools/llvm-mca/DispatchStage.cpp

index 22523db..07666ed 100644 (file)
@@ -92,8 +92,6 @@ void DispatchStage::updateRAWDependencies(ReadState &RS,
     int ReadAdvance = STI.getReadAdvanceCycles(SC, RD.UseIndex, WriteResID);
     WS->addUser(&RS, ReadAdvance);
   }
-  // Prepare the set for another round.
-  DependentWrites.clear();
 }
 
 void DispatchStage::dispatch(InstRef IR) {