[PATCH] D105618: [llvm-mca] Fix JSON output for multiple regions
Marcos Horro via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 8 02:30:58 PDT 2021
markoshorro created this revision.
markoshorro added reviewers: andreadb, gbedwell, wolfgangp.
markoshorro added a project: LLVM.
markoshorro requested review of this revision.
Herald added a subscriber: llvm-commits.
Instead of printing each region individually when using JSON format, this patch creates a JSON object which is updated with the values of each region and prints at the end.
This patch also adds a new test considering 2 nested regions.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D105618
Files:
llvm/test/tools/llvm-mca/JSON/X86/views.s
llvm/tools/llvm-mca/PipelinePrinter.cpp
llvm/tools/llvm-mca/PipelinePrinter.h
llvm/tools/llvm-mca/llvm-mca.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D105618.357174.patch
Type: text/x-patch
Size: 15257 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210708/0632298c/attachment.bin>
More information about the llvm-commits
mailing list