[all-commits] [llvm/llvm-project] 6ef4a7: [RISCV] Exclude LPAD in machine outliner (#157220)

Jesse Huang via All-commits all-commits at lists.llvm.org
Tue Sep 9 07:50:44 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6ef4a7bf16d2e1f960237a635ef114dd6fc07b16
      https://github.com/llvm/llvm-project/commit/6ef4a7bf16d2e1f960237a635ef114dd6fc07b16
  Author: Jesse Huang <jesse.huang at sifive.com>
  Date:   2025-09-09 (Tue, 09 Sep 2025)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVInstrInfo.cpp
    M llvm/lib/Target/RISCV/RISCVInstrPredicates.td
    A llvm/test/CodeGen/RISCV/machine-outliner-lpad.ll

  Log Message:
  -----------
  [RISCV] Exclude LPAD in machine outliner (#157220)

After https://github.com/llvm/llvm-project/pull/139993, the
RISCVIndirectBranchTracking pass is also ran before the Machine Outliner
pass, this yield a possibility that the outliner could also outline the
LPAD instruction that should be placed at the target of an indirect
branch. This patch excludes LPAD instruction from the candidate of
machine outliner.



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