diff options
author | Alexis Engelke <engelke@in.tum.de> | 2024-06-21 13:18:35 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-21 13:18:35 +0200 |
commit | 739a9605677dd736971b17a7888f9d18fd245904 (patch) | |
tree | d91da3cdc2dcf38a63a8e0a01e844717fad5079e /llvm/tools/llvm-objdump/llvm-objdump.cpp | |
parent | c7c636189adc45251be2b7cc53b6b047e1ac3536 (diff) | |
download | llvm-739a9605677dd736971b17a7888f9d18fd245904.zip llvm-739a9605677dd736971b17a7888f9d18fd245904.tar.gz llvm-739a9605677dd736971b17a7888f9d18fd245904.tar.bz2 |
[RegAlloc] Don't call always-true ShouldAllocClass (#96296)
Previously, there was at least one virtual function call for every
allocated register. The only users of this feature are AMDGPU and RISC-V
(RVV), other targets don't use this. To easily identify these cases,
change the default functor to nullptr and don't call it for every
allocated register.
Diffstat (limited to 'llvm/tools/llvm-objdump/llvm-objdump.cpp')
0 files changed, 0 insertions, 0 deletions