[all-commits] [llvm/llvm-project] c1c0fb: Revert "[BOLT][AArch64] Transform cmpbr ~> cmp + b...

Alexandros Lamprineas via All-commits all-commits at lists.llvm.org
Mon Jun 8 03:24:26 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c1c0fb32ddbe4a4aa596e16e27f36c879a643af9
      https://github.com/llvm/llvm-project/commit/c1c0fb32ddbe4a4aa596e16e27f36c879a643af9
  Author: Alexandros Lamprineas <alexandros.lamprineas at arm.com>
  Date:   2026-06-08 (Mon, 08 Jun 2026)

  Changed paths:
    M bolt/include/bolt/Core/BinaryFunction.h
    M bolt/include/bolt/Core/MCPlusBuilder.h
    M bolt/include/bolt/Passes/LongJmp.h
    M bolt/include/bolt/Utils/CommandLineOpts.h
    M bolt/lib/Core/BinaryFunction.cpp
    M bolt/lib/Passes/BinaryPasses.cpp
    M bolt/lib/Passes/LongJmp.cpp
    M bolt/lib/Target/AArch64/AArch64MCPlusBuilder.cpp
    M bolt/lib/Target/AArch64/CMakeLists.txt
    M bolt/lib/Target/RISCV/RISCVMCPlusBuilder.cpp
    M bolt/lib/Target/X86/X86MCPlusBuilder.cpp
    M bolt/lib/Utils/CommandLineOpts.cpp
    M bolt/test/AArch64/compare-and-branch-inversion.S
    M bolt/unittests/Core/CMakeLists.txt
    M bolt/unittests/Core/MCPlusBuilder.cpp

  Log Message:
  -----------
  Revert "[BOLT][AArch64] Transform cmpbr ~> cmp + br when inversion not possible (#185731)" (#202309)

This reverts commit 6b13656fd8386f979e061cc97e32b607ee3fcdf4.

We have identified various bugs hence reverting:

* relaxLocalBranches() should account for BB growth and adjust subsequent BB offsets in fragment
* multiple parallel workers are sharing the same allocator in DataflowInfoManager
* liveness is run lazily, potentially after the CFG has been modified



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