[all-commits] [llvm/llvm-project] 684ad2: [libclc] Move frexp to CLC library; optimize half ...

Fraser Cormack via All-commits all-commits at lists.llvm.org
Thu Feb 20 00:42:06 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 684ad25dfc487476132b429dc92fca934460a8e3
      https://github.com/llvm/llvm-project/commit/684ad25dfc487476132b429dc92fca934460a8e3
  Author: Fraser Cormack <fraser at codeplay.com>
  Date:   2025-02-20 (Thu, 20 Feb 2025)

  Changed paths:
    A libclc/clc/include/clc/math/clc_frexp.h
    A libclc/clc/include/clc/math/unary_decl_with_int_ptr.inc
    A libclc/clc/include/clc/math/unary_def_with_int_ptr.inc
    M libclc/clc/include/clc/relational/clc_select.h
    M libclc/clc/lib/generic/SOURCES
    A libclc/clc/lib/generic/math/clc_frexp.cl
    A libclc/clc/lib/generic/math/clc_frexp.inc
    M libclc/generic/lib/math/frexp.cl
    R libclc/generic/lib/math/frexp.inc

  Log Message:
  -----------
  [libclc] Move frexp to CLC library; optimize half vecs (#127836)

This commit moves the frexp builtin to the CLC library.

It simultaneously optimizes the code generated for half vectors, which
was previously scalarizing and casting up to float. With this commit it
still casts up to float, but keeps it in the vector form.



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