[llvm] [ModuleInliner] use std::make_heap to construct the heap after element updated (PR #69206)

Kazu Hirata via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 16 10:37:40 PDT 2023


kazutakahirata wrote:

Hmm.  `std::make_heap` in the loop would be expensive.  We would be looking at all elements in the queue every time we pop one item.  Let me take some time and try to understand the underlying issue better.

https://github.com/llvm/llvm-project/pull/69206


More information about the llvm-commits mailing list