[all-commits] [llvm/llvm-project] beffc8: [CodeLayout] CDSortImpl: remove HotChains and remo...

Fangrui Song via All-commits all-commits at lists.llvm.org
Tue Oct 17 18:37:32 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: beffc821e8290136a1d8b359cc83487c359b48ca
      https://github.com/llvm/llvm-project/commit/beffc821e8290136a1d8b359cc83487c359b48ca
  Author: Fangrui Song <i at maskray.me>
  Date:   2023-10-17 (Tue, 17 Oct 2023)

  Changed paths:
    M llvm/lib/Transforms/Utils/CodeLayout.cpp

  Log Message:
  -----------
  [CodeLayout] CDSortImpl: remove HotChains and remove linear-time erase_value from mergeChains (#69276)

After mergeChainPairs initializes a priority queue, HotChains is unused
except a HotChains.size() use in LLVM_DEBUG. Optimize it out.




More information about the All-commits mailing list