diff options
author | Jay Foad <jay.foad@amd.com> | 2025-03-26 21:40:58 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-03-26 21:40:58 +0000 |
commit | 38aac86a2490ba1974755758e1311a6cbdbefb25 (patch) | |
tree | 5bdc461ac6acbfc2618ca9898e7f477172e27b6e /lldb/packages/Python/lldbsuite/test/lldbtest.py | |
parent | d724bab8064685c98cdded88157b6e2245e0d7bc (diff) | |
download | llvm-38aac86a2490ba1974755758e1311a6cbdbefb25.zip llvm-38aac86a2490ba1974755758e1311a6cbdbefb25.tar.gz llvm-38aac86a2490ba1974755758e1311a6cbdbefb25.tar.bz2 |
[TableGen] Speed up inferMatchingSuperRegClass. NFC. (#133060)
SubToSuperRegs was a DenseMap of std::vectors, where the vectors
typically had size 1. Switching to a vector of pairs avoids the overhead
of allocating tiny vectors.
I measured a 1.14x speed-up building AMDGPUGenRegisterInfo.inc with this
patch.
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/lldbtest.py')
0 files changed, 0 insertions, 0 deletions