[all-commits] [llvm/llvm-project] 7a2b16: [libclc] Move rootn to the CLC library; optimize (...

Fraser Cormack via All-commits all-commits at lists.llvm.org
Tue Apr 1 01:20:11 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7a2b160e76e23d8fa62750af20e1e25f08803784
      https://github.com/llvm/llvm-project/commit/7a2b160e76e23d8fa62750af20e1e25f08803784
  Author: Fraser Cormack <fraser at codeplay.com>
  Date:   2025-04-01 (Tue, 01 Apr 2025)

  Changed paths:
    A libclc/clc/include/clc/math/clc_rootn.h
    M libclc/clc/lib/generic/SOURCES
    A libclc/clc/lib/generic/math/clc_rootn.cl
    A libclc/clc/lib/generic/math/clc_rootn.inc
    M libclc/clspv/lib/SOURCES
    M libclc/generic/include/clc/math/rootn.h
    R libclc/generic/include/clc/math/rootn.inc
    R libclc/generic/include/math/clc_rootn.h
    R libclc/generic/include/math/clc_rootn.inc
    M libclc/generic/lib/SOURCES
    R libclc/generic/lib/math/clc_rootn.cl
    M libclc/generic/lib/math/rootn.cl
    R libclc/generic/lib/math/rootn.inc
    M libclc/spirv/lib/SOURCES

  Log Message:
  -----------
  [libclc] Move rootn to the CLC library; optimize (#133735)

The function was already nominally in the CLC namespace; this commit
just moves it over.

This commit also vectorizes the builtin to avoid scalarization.



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