[all-commits] [llvm/llvm-project] 3b7422: [ARM] Remove a redundant function fixupBTI

Jirui-Wu via All-commits all-commits at lists.llvm.org
Wed Mar 1 07:02:07 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3b742242a53ed0c2a2e1b6bb2352cace43c22030
      https://github.com/llvm/llvm-project/commit/3b742242a53ed0c2a2e1b6bb2352cace43c22030
  Author: Jirui Wu <jirui.wu at arm.com>
  Date:   2023-03-01 (Wed, 01 Mar 2023)

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

  Log Message:
  -----------
  [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




More information about the All-commits mailing list