diff options
author | Ramkumar Ramachandra <ramkumar.ramachandra@codasip.com> | 2025-04-29 10:36:26 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-04-29 10:36:26 +0100 |
commit | f6b6fb89ec291f677132f912030b9d57c5f7230e (patch) | |
tree | 0678dcd92ba02e324e29ea11235747cb4a70237b /clang/lib/AST/ByteCode/Program.cpp | |
parent | 8961f3ee758f18f3c5c707b76406afbe6238ef7e (diff) | |
download | llvm-f6b6fb89ec291f677132f912030b9d57c5f7230e.zip llvm-f6b6fb89ec291f677132f912030b9d57c5f7230e.tar.gz llvm-f6b6fb89ec291f677132f912030b9d57c5f7230e.tar.bz2 |
[VectorUtils] Improve computeMinimumValueSizes (NFC) (#137692)
The Worklist used by computeMinimumValueSizes is wastefully a
Value-vector, when the top of the loop attempts to cast the popped value
to an Instruction anyway. Improve the algorithm by cutting this wasteful
work, refining the type of Worklist, Visited, and Roots from
Value-vectors to Instruction-vectors.
Diffstat (limited to 'clang/lib/AST/ByteCode/Program.cpp')
0 files changed, 0 insertions, 0 deletions