[llvm] r335368 - [llvm-mca] Remove redundant call. NFC

Andrea Di Biagio via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 22 10:03:40 PDT 2018


Author: adibiagio
Date: Fri Jun 22 10:03:40 2018
New Revision: 335368

URL: http://llvm.org/viewvc/llvm-project?rev=335368&view=rev
Log:
[llvm-mca] Remove redundant call. NFC

Modified:
    llvm/trunk/tools/llvm-mca/DispatchStage.cpp

Modified: llvm/trunk/tools/llvm-mca/DispatchStage.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-mca/DispatchStage.cpp?rev=335368&r1=335367&r2=335368&view=diff
==============================================================================
--- llvm/trunk/tools/llvm-mca/DispatchStage.cpp (original)
+++ llvm/trunk/tools/llvm-mca/DispatchStage.cpp Fri Jun 22 10:03:40 2018
@@ -92,8 +92,6 @@ void DispatchStage::updateRAWDependencie
     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) {




More information about the llvm-commits mailing list