Avoid making a heap allocation when constructing a CoalescingBitVector.
This reduces time spent in LiveDebugValues when compiling sqlite3 by
700ms (0.5% of the total User Time).
rdar://60046261
Paths
| Differential D76465
[ADT] CoalescingBitVector: Avoid initial heap allocation, NFC ClosedPublic Authored by vsk on Mar 19 2020, 4:54 PM.
Details Summary Avoid making a heap allocation when constructing a CoalescingBitVector. This reduces time spent in LiveDebugValues when compiling sqlite3 by rdar://60046261
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Mar 20 2020, 8:47 AM Closed by commit rG4716ebb823e4: [ADT] CoalescingBitVector: Avoid initial heap allocation, NFC (authored by vsk). · Explain WhyMar 20 2020, 12:29 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 251728 llvm/include/llvm/ADT/CoalescingBitVector.h
llvm/lib/CodeGen/LiveDebugValues.cpp
llvm/unittests/ADT/CoalescingBitVectorTest.cpp
|