[all-commits] [llvm/llvm-project] bd6c16: [MachineOutliner] Avoid ranges that cross bundle b...

Ellis Hoag via All-commits all-commits at lists.llvm.org
Wed Jul 16 09:51:46 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bd6c16c6cfe28105d992fa997dce6e18ea86a5a4
      https://github.com/llvm/llvm-project/commit/bd6c16c6cfe28105d992fa997dce6e18ea86a5a4
  Author: Ellis Hoag <ellis.sparky.hoag at gmail.com>
  Date:   2025-07-16 (Wed, 16 Jul 2025)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
    M llvm/test/CodeGen/AArch64/machine-outliner-safe-range-in-middle.mir

  Log Message:
  -----------
  [MachineOutliner] Avoid ranges that cross bundle boundary (#148977)

We found some code that was hitting this assert because
`getOutlinableRanges()` was trying to create a range that crossed a
bundle boundary.


https://github.com/llvm/llvm-project/blob/ae3bba4d15a10646ea91c6c0795633b82939857b/llvm/include/llvm/CodeGen/MachineInstrBundleIterator.h#L133-L135

Avoid creating those ranges and add a test that hit the assert.



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