[all-commits] [llvm/llvm-project] e88a83: [GlobalOpt][FMV] Perform expensive checks when Num...

Alexandros Lamprineas via All-commits all-commits at lists.llvm.org
Tue Dec 2 05:47:00 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e88a83acde69b2fc395474c905b9a17c22f61c05
      https://github.com/llvm/llvm-project/commit/e88a83acde69b2fc395474c905b9a17c22f61c05
  Author: Alexandros Lamprineas <alexandros.lamprineas at arm.com>
  Date:   2025-12-02 (Tue, 02 Dec 2025)

  Changed paths:
    M llvm/lib/Transforms/IPO/GlobalOpt.cpp
    M llvm/test/Transforms/GlobalOpt/resolve-fmv-ifunc.ll

  Log Message:
  -----------
  [GlobalOpt][FMV] Perform expensive checks when NumVersions < Threshold (#168054)

Extends the static resolution algorith to handle cases where we can
infer additional information on why a prior caller version of higher
priority was skipped, based on the features of the current caller
version.

For example let's say the current caller is aes+sve2 and a previous
caller was mops+sve2. Knowing that sve2 is available we could deduce
that mops is unavailable. This would allow us to skip callee versions
which depend on mops.

This comes at the expense of performing more checks. However we can
control the threshold (number of versions) which decides whether the
expensive checks will be performed or not.



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