aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.h
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2025-10-10 13:01:04 +0900
committerGitHub <noreply@github.com>2025-10-10 04:01:04 +0000
commit067a11015d54bb8822601f7d242e4f8a0c7c5a7d (patch)
tree1f12fa195fdae7d1709e6a9b374b697558bd4eee /lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.h
parentbe9e747d49f7e21b97210cde6b9f458c90d2c6a4 (diff)
downloadllvm-067a11015d54bb8822601f7d242e4f8a0c7c5a7d.zip
llvm-067a11015d54bb8822601f7d242e4f8a0c7c5a7d.tar.gz
llvm-067a11015d54bb8822601f7d242e4f8a0c7c5a7d.tar.bz2
RegisterCoalescer: Do not introduce uses of empty register classes (#161809)
Check RegisterClassInfo if any registers of the new class are actually available for use. Currently AMDGPU overrides shouldCoalesce to avoid this situation. The target hook does not have access to the dynamic register class counts, but ideally the target hook would only be used for profitability concerns. The new test doesn't change, due to the AMDGPU shouldCoalesce override, but would be unallocatable if we dropped the override and switched to the default implementation. The existing limit-coalesce.mir already tests the behavior of this override, but it's too conservative and isn't checking the case where the new class is unallocatable. Add this check so it can be relaxed.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.h')
0 files changed, 0 insertions, 0 deletions