[all-commits] [llvm/llvm-project] 925a6c: [AArch64] Lower jump table cases threshold to 10

Guy David via All-commits all-commits at lists.llvm.org
Tue Jun 10 08:35:12 PDT 2025


  Branch: refs/heads/users/guy-david/aarch64-lower-jump-table-threshold
  Home:   https://github.com/llvm/llvm-project
  Commit: 925a6c7a36817f89d2b8435fd1c3f8849141e8f0
      https://github.com/llvm/llvm-project/commit/925a6c7a36817f89d2b8435fd1c3f8849141e8f0
  Author: Guy David <guyda96 at gmail.com>
  Date:   2025-06-10 (Tue, 10 Jun 2025)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64Subtarget.cpp

  Log Message:
  -----------
  [AArch64] Lower jump table cases threshold to 10

Previous stabs at this setting hypertuned it for SPEC2017, but Clang's
own compilation can benefit from a slightly lower threshold, yielding
0.3% improvement in compile time, while still maintaining a 0.1%
improvement in SPEC2017.

Most notable benefactors of this change are:
 - llvm::Instruction::getNumSuccessors (11 cases)
 - llvm::Instruction::getSuccessor (11 cases)



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