[all-commits] [llvm/llvm-project] 7f3661: [libclc] Remove __attribute__((always_inline)) (#1...

Wenju He via All-commits all-commits at lists.llvm.org
Wed Sep 17 16:47:56 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7f3661128b1e5dda69586afcff99a8f662e4126f
      https://github.com/llvm/llvm-project/commit/7f3661128b1e5dda69586afcff99a8f662e4126f
  Author: Wenju He <wenju.he at intel.com>
  Date:   2025-09-18 (Thu, 18 Sep 2025)

  Changed paths:
    M libclc/clc/include/clc/clcfunc.h
    M libclc/clc/include/clc/misc/shuffle2_def.inc
    M libclc/clc/include/clc/misc/shuffle_def.inc
    M libclc/clc/lib/generic/atomic/clc_atomic_compare_exchange.inc
    M libclc/clc/lib/generic/atomic/clc_atomic_def.inc
    M libclc/clc/lib/generic/math/clc_sincos_helpers.inc

  Log Message:
  -----------
  [libclc] Remove __attribute__((always_inline)) (#158791)

always_inline doesn't guarantee performance improvement.
Target-specific optimizations decide whether inlining is profitable.
Changes to amdgcn--amdhsa.bc:
* _Z9__clc_logDv16_f and _Z15__clc_remainderDv16_fS_ are not inlined.
* sincos vector function code size has doubled due to apparent
duplication.


Also replace typo _CLC_DECL with _CLC_DEF for function definition.



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