[all-commits] [llvm/llvm-project] bd4455: [AArch64][GlobalISel] Implement __builtin_return_a...

Momchil Velikov via All-commits all-commits at lists.llvm.org
Thu Sep 24 10:05:10 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: bd44558001e978d93fbff5a4537f38b46b0e355a
      https://github.com/llvm/llvm-project/commit/bd44558001e978d93fbff5a4537f38b46b0e355a
  Author: Momchil Velikov <momchil.velikov at arm.com>
  Date:   2020-09-24 (Thu, 24 Sep 2020)

  Changed paths:
    M llvm/lib/Target/AArch64/GISel/AArch64InstructionSelector.cpp
    A llvm/test/CodeGen/AArch64/GlobalISel/builtin-return-address-pacret.ll
    M llvm/test/CodeGen/AArch64/GlobalISel/select-returnaddr.ll
    M llvm/test/CodeGen/AArch64/GlobalISel/select-returnaddress-liveins.mir

  Log Message:
  -----------
  [AArch64][GlobalISel] Implement __builtin_return_address for PAC-RET

This patch implements stripping of the PAC in the return address for GlobalISel.

Implementation for when not using GLobalISel is in
https://reviews.llvm.org/D75044 The analogous GCC patch is
https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=a70d5d81c41048556fd86eaa1036018a6bfba115

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




More information about the All-commits mailing list