llvm-project
f6b6fb89 - [VectorUtils] Improve computeMinimumValueSizes (NFC) (#137692)

Commit
1 year ago
[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.
Author
Parents
Loading