aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Basic/FileManager.cpp
diff options
context:
space:
mode:
authorRamkumar Ramachandra <ramkumar.ramachandra@codasip.com>2025-04-29 10:36:26 +0100
committerGitHub <noreply@github.com>2025-04-29 10:36:26 +0100
commitf6b6fb89ec291f677132f912030b9d57c5f7230e (patch)
tree0678dcd92ba02e324e29ea11235747cb4a70237b /clang/lib/Basic/FileManager.cpp
parent8961f3ee758f18f3c5c707b76406afbe6238ef7e (diff)
downloadllvm-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/Basic/FileManager.cpp')
0 files changed, 0 insertions, 0 deletions