[PATCH] D46741: [llvm-mca] Introduce a pipeline Stage class and FetchStage.
Matt Davis via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue May 15 10:34:48 PDT 2018
mattd updated this revision to Diff 146876.
mattd added a comment.
- Removed eraseInstruction. Since we place ownership of all instructions in FetchStage, we can scan the list at the end of each Fetch cycle (postExecute) and clean up retired instructions at that time (thanks Andrea for that suggestion).
- Added isRetired predicate to Instruction.h
https://reviews.llvm.org/D46741
Files:
tools/llvm-mca/Backend.cpp
tools/llvm-mca/Backend.h
tools/llvm-mca/CMakeLists.txt
tools/llvm-mca/Dispatch.cpp
tools/llvm-mca/FetchStage.cpp
tools/llvm-mca/FetchStage.h
tools/llvm-mca/Instruction.h
tools/llvm-mca/Stage.cpp
tools/llvm-mca/Stage.h
tools/llvm-mca/llvm-mca.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D46741.146876.patch
Type: text/x-patch
Size: 13823 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180515/276aa7fd/attachment.bin>
More information about the llvm-commits
mailing list