llvm-project/llvm/lib/MCA
Andrea Di Biagio 3262794804 [MCA] Correctly check pipeline availability for partially overlapping resource groups.
This patch mostly reverts commit 70b37f4c03 which fixed PR50725.

In case of explicit consumption of multiple partially overlapping group
resources, the ResourceManager was not correctly checking pipeline
esources availability.

The fix for PR50725 only partially addressed a few instances of that issue.
This is a more general (although, technically slower) fix for that same issue.

It also fixes Issue #57548

Thanks to Haohai Wen for the small reproducible.
2022-09-07 12:17:59 +01:00
..
HardwareUnits [MCA] Correctly check pipeline availability for partially overlapping resource groups. 2022-09-07 12:17:59 +01:00
Stages [MCA] Introducing incremental SourceMgr and resumable pipeline 2022-06-24 15:39:51 -07:00
CMakeLists.txt [MCA] Allow mca::Instruction-s to be recycled and reused 2022-06-24 15:39:51 -07:00
CodeEmitter.cpp
Context.cpp
CustomBehaviour.cpp
HWEventListener.cpp
IncrementalSourceMgr.cpp [MCA] Allow mca::Instruction-s to be recycled and reused 2022-06-24 15:39:51 -07:00
InstrBuilder.cpp [MCA] Correctly check pipeline availability for partially overlapping resource groups. 2022-09-07 12:17:59 +01:00
Instruction.cpp [MCA] Allow mca::Instruction-s to be recycled and reused 2022-06-24 15:39:51 -07:00
Pipeline.cpp [MCA] Introducing incremental SourceMgr and resumable pipeline 2022-06-24 15:39:51 -07:00
Support.cpp Use std::gcd (NFC) 2022-08-27 21:20:59 -07:00
View.cpp