[all-commits] [llvm/llvm-project] 39f838: [ARM] Correct features on pacbti instructions.

David Green via All-commits all-commits at lists.llvm.org
Wed Jul 27 01:15:28 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 39f83849640114340fb2144450383a7bd90d5f0b
      https://github.com/llvm/llvm-project/commit/39f83849640114340fb2144450383a7bd90d5f0b
  Author: David Green <david.green at arm.com>
  Date:   2022-07-27 (Wed, 27 Jul 2022)

  Changed paths:
    M llvm/lib/Target/ARM/ARMInstrThumb2.td
    M llvm/lib/Target/ARM/ARMScheduleA57.td
    M llvm/test/MC/ARM/armv8.1m-pacbti.s

  Log Message:
  -----------
  [ARM] Correct features on pacbti instructions.

Given a patch like D129506, using instructions not valid for the current
feature set becomes an error. This updates the Arm hint-space
instructions for pac/bti to require thumbv7m as opposed to 8.1-m.main, to
make them valid when compiling for thumbv7m with -mbranch-protection.

Differential Revision: https://reviews.llvm.org/D129692




More information about the All-commits mailing list