diff options
author | Marcos Horro <marcos.horro@udc.es> | 2021-07-09 17:58:57 +0200 |
---|---|---|
committer | Marcos Horro <marcos.horro@udc.es> | 2021-07-09 18:04:16 +0200 |
commit | b11d31eb73a37f46a669e064b1aed77aff9f783a (patch) | |
tree | 447694f7c5f42f34e74b78101a22a513a1ae32d5 /llvm/lib/IR/Module.cpp | |
parent | c282d55a38577e076b48cd7a8113e5eb0a2039cd (diff) | |
download | llvm-b11d31eb73a37f46a669e064b1aed77aff9f783a.zip llvm-b11d31eb73a37f46a669e064b1aed77aff9f783a.tar.gz llvm-b11d31eb73a37f46a669e064b1aed77aff9f783a.tar.bz2 |
[llvm-mca] Fix JSON format for multiple regions
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, printing them at the end. New test is added for JSON output
with multiple regions.
Bug: https://bugs.llvm.org/show_bug.cgi?id=51008
Reviewed By: andreadb
Differential Revision: https://reviews.llvm.org/D105618
Diffstat (limited to 'llvm/lib/IR/Module.cpp')
0 files changed, 0 insertions, 0 deletions