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

Guy David via All-commits all-commits at lists.llvm.org
Tue Jun 10 23:59:17 PDT 2025


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

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64Subtarget.cpp
    M llvm/test/CodeGen/AArch64/min-jump-table.ll

  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
a 0.3% improvement in compile time, while still not regressing SPEC.

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