1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 03:02:36 +01:00
llvm-mirror/tools/llvm-mca
Andrea Di Biagio f4d1c262c1 [MCA] Fix wrong definition of ResourceUnitMask in DefaultResourceStrategy.
Field ResourceUnitMask was incorrectly defined as a 'const unsigned' mask. It
should have been a 64 bit quantity instead. That means, ResourceUnitMask was
always implicitly truncated to a 32 bit quantity.
This issue has been found by inspection. Surprisingly, that bug was latent, and
it never negatively affected any existing upstream targets.

This patch fixes  the wrong definition of ResourceUnitMask, and adds a bunch of
extra debug prints to help debugging potential issues related to invalid
processor resource masks.

llvm-svn: 350820
2019-01-10 13:59:13 +00:00
..
Views [MCA] Fix wrong definition of ResourceUnitMask in DefaultResourceStrategy. 2019-01-10 13:59:13 +00:00
CMakeLists.txt Revert "Work around a linker error caused by https://reviews.llvm.org/D56084." 2019-01-08 21:05:08 +00:00
CodeRegion.cpp [llvm-mca] Move namespace mca inside llvm:: 2018-10-30 15:56:08 +00:00
CodeRegion.h [llvm-mca] Move the AssembleInput logic into its own class. 2018-11-07 19:20:04 +00:00
CodeRegionGenerator.cpp [llvm-mca] Move the AssembleInput logic into its own class. 2018-11-07 19:20:04 +00:00
CodeRegionGenerator.h [llvm-mca] Move the AssembleInput logic into its own class. 2018-11-07 19:20:04 +00:00
llvm-mca.cpp [llvm-mca] Rename an error variable. 2018-12-19 18:57:43 +00:00
LLVMBuild.txt [llvm-mca] Move llvm-mca library to llvm/lib/MCA. 2018-12-17 08:08:31 +00:00
PipelinePrinter.cpp [llvm-mca] Move namespace mca inside llvm:: 2018-10-30 15:56:08 +00:00
PipelinePrinter.h [llvm-mca] Move llvm-mca library to llvm/lib/MCA. 2018-12-17 08:08:31 +00:00