[PATCH] D145048: [ARM] Remove a redundant function fixupBTI

Jirui Wu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 1 02:02:36 PST 2023


JiruiWu created this revision.
Herald added subscribers: hiraditya, kristof.beyls.
Herald added a project: All.
JiruiWu requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Since the redundant BTI instructions emitted by jump tables are now
removed in the ARMBranchTargets pass, the fixupBTI function is not needed
in the ARMConstantIslandPass. Some related tests are removed as well.

The relevant patch that removes the redundant BTI instructions:
https://reviews.llvm.org/D144470


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D145048

Files:
  llvm/lib/Target/ARM/ARMConstantIslandPass.cpp
  llvm/test/CodeGen/Thumb2/bti-const-island-multiple-jump-tables.mir
  llvm/test/CodeGen/Thumb2/bti-const-island.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D145048.501429.patch
Type: text/x-patch
Size: 19754 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230301/ec7ffd08/attachment.bin>


More information about the llvm-commits mailing list