[PATCH] D127083: [MCA] Introducing incremental SourceMgr and resumable pipeline
Min-Yih Hsu via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Jun 5 21:18:58 PDT 2022
myhsu created this revision.
myhsu added a reviewer: andreadb.
Herald added subscribers: kosarev, jsilvanus, hsmhsm, foad, kerbowa, gbedwell, hiraditya, mgorny, nhaehnle, jvesely, arsenm.
Herald added a project: All.
myhsu requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
The new resumable mca::Pipeline capability introduced in this patch allows users to save the current state of pipeline and resume from the very checkpoint.
It is better (but not require) to use with the new IncrementalSourceMgr, where users can add mca::Instruction incrementally rather than having a fixed number of instructions ahead-of-time.
Note that we're using unit tests to test these new features. Because integrating them into the `llvm-mca` tool will make too many churns.
This is patch 1/2 of MCA Daemon's upstreaming efforts.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D127083
Files:
llvm/include/llvm/MCA/IncrementalSourceMgr.h
llvm/include/llvm/MCA/Pipeline.h
llvm/include/llvm/MCA/SourceMgr.h
llvm/include/llvm/MCA/Stages/EntryStage.h
llvm/include/llvm/MCA/Stages/Stage.h
llvm/lib/MCA/Pipeline.cpp
llvm/lib/MCA/Stages/EntryStage.cpp
llvm/lib/MCA/Stages/Stage.cpp
llvm/lib/Target/AMDGPU/MCA/AMDGPUCustomBehaviour.cpp
llvm/tools/llvm-mca/llvm-mca.cpp
llvm/unittests/tools/CMakeLists.txt
llvm/unittests/tools/llvm-mca/CMakeLists.txt
llvm/unittests/tools/llvm-mca/MCATestBase.cpp
llvm/unittests/tools/llvm-mca/MCATestBase.h
llvm/unittests/tools/llvm-mca/X86/CMakeLists.txt
llvm/unittests/tools/llvm-mca/X86/TestIncrementalMCA.cpp
llvm/unittests/tools/llvm-mca/X86/X86TestBase.cpp
llvm/unittests/tools/llvm-mca/X86/X86TestBase.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D127083.434382.patch
Type: text/x-patch
Size: 28744 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220606/b9159e91/attachment.bin>
More information about the llvm-commits
mailing list