[all-commits] [llvm/llvm-project] 3fb3df: [ModuleInliner] Use SmallVector::pop_back_val (NFC)
Kazu Hirata via All-commits
all-commits at lists.llvm.org
Wed Oct 18 13:05:02 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 3fb3df36eaeecaea59de42e3d3f4eec79c3aac4e
https://github.com/llvm/llvm-project/commit/3fb3df36eaeecaea59de42e3d3f4eec79c3aac4e
Author: Kazu Hirata <kazu at google.com>
Date: 2023-10-18 (Wed, 18 Oct 2023)
Changed paths:
M llvm/lib/Analysis/InlineOrder.cpp
Log Message:
-----------
[ModuleInliner] Use SmallVector::pop_back_val (NFC)
We can use std::pop_heap first and then retrieve the top priority item
with pop_back_val, saving one line of code.
More information about the All-commits
mailing list