diff options
author | Andrea Di Biagio <35701327+adibiagio@users.noreply.github.com> | 2024-09-16 09:48:42 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-16 09:48:42 +0100 |
commit | 6784202b6bb0930d2e4bf231e915c61e446b0585 (patch) | |
tree | ec50b474d613401e304dde89133b89e43d053ed3 /lldb/source/Plugins/Language/CPlusPlus/LibCxxMap.cpp | |
parent | b7e51b4f139ec18c498c818c6bcaa5a842cea83c (diff) | |
download | llvm-6784202b6bb0930d2e4bf231e915c61e446b0585.zip llvm-6784202b6bb0930d2e4bf231e915c61e446b0585.tar.gz llvm-6784202b6bb0930d2e4bf231e915c61e446b0585.tar.bz2 |
[MCA][ResourceManager] Fix a bug in the instruction issue logic. (#108386)
Before this patch, the pipeline selection logic in
ResourceManager::issueInstruction() didn't know how to correctly handle
instructions which consume multiple partially overlapping resource
groups. In some cases (like the test case from #108157), the inability
to correctly allocate resources on instruction issue was leading to
crashes.
The presence of multiple partially overlapping groups complicates the
selection process by introducing extra constraints. For those cases, the
issue logic now prioritizes groups which are more constrained than
others.
Fixes #108157
Diffstat (limited to 'lldb/source/Plugins/Language/CPlusPlus/LibCxxMap.cpp')
0 files changed, 0 insertions, 0 deletions