[all-commits] [llvm/llvm-project] 1d5bf0: [ARM] Remove unused class member in ARMConstantIsl...

Simon Tatham via All-commits all-commits at lists.llvm.org
Tue May 27 00:35:11 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1d5bf04030f0345690243553a7d2ea8f60b26604
      https://github.com/llvm/llvm-project/commit/1d5bf04030f0345690243553a7d2ea8f60b26604
  Author: Simon Tatham <simon.tatham at arm.com>
  Date:   2025-05-27 (Tue, 27 May 2025)

  Changed paths:
    M llvm/lib/Target/ARM/ARMConstantIslandPass.cpp

  Log Message:
  -----------
  [ARM] Remove unused class member in ARMConstantIslandPass (#141093)

The map variable `BlockJumpTableRefCount` was added in commit
f5f28d5b0ce76af8f6944774aa73bad9e328b020 to track whether a basic block
was the target of any jump table entries. This was used in the function
`fixupBTI` to insert and remove BTIs after jump tables had been
modified.

Commit 3b742242a53ed0c2a2e1b6bb2352cace43c22030 removed `fixupBTI` on
the grounds that the work was now being done elsewhere. That left
`BlockJumpTableRefCount` still being created, but now nothing is using
it. So we can garbage-collect that variable and all the code that
populates it.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list