aboutsummaryrefslogtreecommitdiff
path: root/lldb/packages/Python/lldbsuite/test/lldbtest.py
diff options
context:
space:
mode:
authorJay Foad <jay.foad@amd.com>2025-03-26 21:40:58 +0000
committerGitHub <noreply@github.com>2025-03-26 21:40:58 +0000
commit38aac86a2490ba1974755758e1311a6cbdbefb25 (patch)
tree5bdc461ac6acbfc2618ca9898e7f477172e27b6e /lldb/packages/Python/lldbsuite/test/lldbtest.py
parentd724bab8064685c98cdded88157b6e2245e0d7bc (diff)
downloadllvm-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