[all-commits] [llvm/llvm-project] b8ae3f: [AArch64] Fix BTI instruction emission.

Dani via All-commits all-commits at lists.llvm.org
Mon Jun 15 06:04:55 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: b8ae3fdfa579dbf366b1bb1cbfdbf8c51db7fa55
      https://github.com/llvm/llvm-project/commit/b8ae3fdfa579dbf366b1bb1cbfdbf8c51db7fa55
  Author: Daniel Kiss <daniel.kiss at arm.com>
  Date:   2020-06-15 (Mon, 15 Jun 2020)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64BranchTargets.cpp
    M llvm/test/CodeGen/AArch64/branch-target-enforcement.mir

  Log Message:
  -----------
  [AArch64] Fix BTI instruction emission.

Summary:
SCTLR_EL1.BT[01] controls the PACI[AB]SP compatibility with PBYTE 11
(see [1])
This bit will be set to zero so PACI[AB]SP are equal to BTI C
instruction only.

[1] https://developer.arm.com/docs/ddi0595/b/aarch64-system-registers/sctlr_el1

Reviewers: chill, tamas.petz, pbarrio, ostannard

Reviewed By: tamas.petz, ostannard

Subscribers: kristof.beyls, hiraditya, llvm-commits

Tags: #llvm

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




More information about the All-commits mailing list