diff options
author | Jay Foad <jay.foad@amd.com> | 2024-05-03 13:42:40 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-03 13:42:40 +0100 |
commit | cd4287bc44fc614a336b5b283a484c402c44ca93 (patch) | |
tree | 192bccc13faf5fc7dec13569fdb2bfdb42429d63 /llvm/lib/Transforms/Utils/LoopUtils.cpp | |
parent | 81003f23f0361aeb05b98489ba659edad40506f8 (diff) | |
download | llvm-cd4287bc44fc614a336b5b283a484c402c44ca93.zip llvm-cd4287bc44fc614a336b5b283a484c402c44ca93.tar.gz llvm-cd4287bc44fc614a336b5b283a484c402c44ca93.tar.bz2 |
[AMDGPU] Convert PrologEpilogSGPRSpills from DenseMap to sorted vector (#90957)
In practice PrologEpilogSGPRSpills never has more than 3 entries so
DenseMap is overkill. In addition this means that iteration happens in
register number order, instead of DenseMap's hashed order, so it will
not be affected by future patches that define new physical registers.
This should reduce future test case churn.
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopUtils.cpp')
0 files changed, 0 insertions, 0 deletions