[all-commits] [llvm/llvm-project] bcd0d9: [libclc] Simplify unary_def_scalarize.inc's use in...

Wenju He via All-commits all-commits at lists.llvm.org
Mon Jul 28 17:26:20 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bcd0d972247154336dd1321f1fded818e46671d1
      https://github.com/llvm/llvm-project/commit/bcd0d972247154336dd1321f1fded818e46671d1
  Author: Wenju He <wenju.he at intel.com>
  Date:   2025-07-29 (Tue, 29 Jul 2025)

  Changed paths:
    R libclc/clc/include/clc/math/unary_def_via_fp32.inc
    M libclc/clc/lib/generic/math/clc_erf.cl
    M libclc/clc/lib/generic/math/clc_erfc.cl
    M libclc/clc/lib/generic/math/clc_tgamma.cl

  Log Message:
  -----------
  [libclc] Simplify unary_def_scalarize.inc's use in __clc_erf/erfc/tgamma (#150181)

Also delete unary_def_via_fp32.inc. There are small changes in
amdgcn--amdhsa.bc due to vector conversion is scalarized, e.g.
  %2 = fpext <4 x half> %0 to <4 x float>
  %3 = extractelement <4 x float> %2, i64 0
  %4 = tail call float @llvm.fabs.f32(float %3)
->
  %2 = extractelement <4 x half> %0, i64 0
  %3 = tail call half @llvm.fabs.f16(half %2)
  %4 = fpext half %3 to float



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