[PATCH] D77565: [AArch64] Remove implicit landing pads.

Daniel Kiss via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 6 09:44:41 PDT 2020


danielkiss created this revision.
danielkiss added reviewers: tamas.petz, kcc, chill, ostannard.
Herald added subscribers: llvm-commits, hiraditya, kristof.beyls.
Herald added a project: LLVM.

PACIASP and PACIA LR, SP are equivalent from PAC point of view while PACIA is not a BTI landing pad.
Direct branch does not need a landing pad. If PACIA is available from v8.3, the unnecessary landing pads could be eliminated.
Another patch will improve the detection of the direct only calls.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D77565

Files:
  llvm/lib/Target/AArch64/AArch64BranchTargets.cpp
  llvm/test/CodeGen/AArch64/branch-target-enforcement-direct-calls.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D77565.255371.patch
Type: text/x-patch
Size: 4235 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200406/1ab27714/attachment.bin>


More information about the llvm-commits mailing list