1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00
llvm-mirror/tools/llvm-mca
Andrea Di Biagio 98e0298cb2 [MCA] Add support for nested and overlapping region markers
This patch fixes PR41523
https://bugs.llvm.org/show_bug.cgi?id=41523

Regions can now nest/overlap provided that they have different names.
Anonymous regions cannot overlap.

Region end markers must specify the region name. The only exception is for when
there is only one user-defined region; in that particular case, the region end
marker doesn't need to specify a name.

Incorrect region end markers are no longer ignored. Instead, the tool reports an
error and we exit with an error code.

Added test cases to verify the new diagnostic error messages.

Updated the llvm-mca docs to reflect this feature change.

Differential Revision: https://reviews.llvm.org/D61676

llvm-svn: 360351
2019-05-09 15:18:09 +00:00
..
Views [MCA] Moved the bottleneck analysis to its own file. NFCI 2019-04-17 06:02:05 +00:00
CMakeLists.txt [MCA] Moved the bottleneck analysis to its own file. NFCI 2019-04-17 06:02:05 +00:00
CodeRegion.cpp [MCA] Add support for nested and overlapping region markers 2019-05-09 15:18:09 +00:00
CodeRegion.h [MCA] Add support for nested and overlapping region markers 2019-05-09 15:18:09 +00:00
CodeRegionGenerator.cpp [MCA] Add support for nested and overlapping region markers 2019-05-09 15:18:09 +00:00
CodeRegionGenerator.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
llvm-mca.cpp [MCA] Add support for nested and overlapping region markers 2019-05-09 15:18:09 +00:00
LLVMBuild.txt Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
PipelinePrinter.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
PipelinePrinter.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00