[all-commits] [llvm/llvm-project] 55ea18: [FuncSpec] Do not specialize interposable function...

Nikita Popov via All-commits all-commits at lists.llvm.org
Wed Jun 17 01:54:42 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 55ea1823580283c0a5b03477d85070309dc1a2d1
      https://github.com/llvm/llvm-project/commit/55ea1823580283c0a5b03477d85070309dc1a2d1
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2026-06-17 (Wed, 17 Jun 2026)

  Changed paths:
    M llvm/lib/Transforms/IPO/FunctionSpecialization.cpp
    A llvm/test/Transforms/FunctionSpecialization/interposable.ll

  Log Message:
  -----------
  [FuncSpec] Do not specialize interposable functions (#204314)

We cannot specialize interposable functions, because the definition we
see may not be prevailing one. The prevailing definition can have
arbitrary different behavior.

We *can* still specialize inexact definitions like linkonce_odr, similar
to inlining.



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