aboutsummaryrefslogtreecommitdiff
path: root/tools/llvm-mca
diff options
context:
space:
mode:
authorAndrea Di Biagio <Andrea_DiBiagio@sn.scee.net>2018-06-22 17:03:40 +0000
committerAndrea Di Biagio <Andrea_DiBiagio@sn.scee.net>2018-06-22 17:03:40 +0000
commit18c02e94e56eccd99e6a0cb301854009c3968827 (patch)
tree42a7cfc198aa06af5525069bb5cf6903faf97a5f /tools/llvm-mca
parent2191fc0b67c4ad69021b4678d1a89b54ef9c3cfe (diff)
[llvm-mca] Remove redundant call. NFC
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@335368 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvm-mca')
-rw-r--r--tools/llvm-mca/DispatchStage.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/tools/llvm-mca/DispatchStage.cpp b/tools/llvm-mca/DispatchStage.cpp
index 22523db94b7..07666edf359 100644
--- a/tools/llvm-mca/DispatchStage.cpp
+++ b/tools/llvm-mca/DispatchStage.cpp
@@ -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) {