[all-commits] [llvm/llvm-project] 3f2a9e: [BOLT] Sort TakenBranches immediately before use. ...

Maksim Panchenko via All-commits all-commits at lists.llvm.org
Wed Feb 28 19:51:56 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3f2a9e5910c2f485ce18a6d348af30cd44474b48
      https://github.com/llvm/llvm-project/commit/3f2a9e5910c2f485ce18a6d348af30cd44474b48
  Author: Maksim Panchenko <maks at fb.com>
  Date:   2024-02-28 (Wed, 28 Feb 2024)

  Changed paths:
    M bolt/lib/Core/BinaryFunction.cpp

  Log Message:
  -----------
  [BOLT] Sort TakenBranches immediately before use. NFCI (#83333)

Move code that sorts TakenBranches right before the branches are used.
We can populate TakenBranches in pre-CFG post-processing and hence have
to postpone the sorting to a later point in the processing pipeline.
Will add such a pass later. For now it's NFC.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list