[all-commits] [llvm/llvm-project] 0e568e: [BOLT][AArch64] Refuse to run retpoline insertion ...

Amina Chabane via All-commits all-commits at lists.llvm.org
Thu May 7 03:26:44 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0e568e1789f646e7c3377a3bd12c45f62f90e3b9
      https://github.com/llvm/llvm-project/commit/0e568e1789f646e7c3377a3bd12c45f62f90e3b9
  Author: Amina Chabane <amina.chabane at arm.com>
  Date:   2026-05-07 (Thu, 07 May 2026)

  Changed paths:
    M bolt/lib/Passes/RetpolineInsertion.cpp
    M bolt/test/AArch64/unsupported-passes.test

  Log Message:
  -----------
  [BOLT][AArch64] Refuse to run retpoline insertion pass (#196179)

RetpolineInsertion (`--insert-retpolines`) is specific to X86, but
currently rejects non-X86 targets with an assert. For consistency, this
should be an error message.

- Add a non-X86 guard
- Add the error message to unsupported-passes.test



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