[ARM] Remove a redundant function fixupBTI
authorJirui Wu <jirui.wu@arm.com>
Mon, 27 Feb 2023 15:03:42 +0000 (15:03 +0000)
committerJirui Wu <jirui.wu@arm.com>
Wed, 1 Mar 2023 15:01:38 +0000 (15:01 +0000)
commit3b742242a53ed0c2a2e1b6bb2352cace43c22030
tree33ae0517e0a1718c0a9a2cb8bb8a8be17d2e5e4e
parented05dcc57bf9eb9efb44605ee97d7ba4b736e183
[ARM] Remove a redundant function fixupBTI

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

Differential Revision: https://reviews.llvm.org/D145048
llvm/lib/Target/ARM/ARMConstantIslandPass.cpp
llvm/test/CodeGen/Thumb2/bti-const-island-multiple-jump-tables.mir [deleted file]
llvm/test/CodeGen/Thumb2/bti-const-island.mir [deleted file]