[all-commits] [llvm/llvm-project] c5b750: [libclc] Move log2/log10 tables to CLC tables impl

Fraser Cormack via All-commits all-commits at lists.llvm.org
Thu May 1 02:24:45 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c5b750f5af72fadd4c00c120c9c585240da466b4
      https://github.com/llvm/llvm-project/commit/c5b750f5af72fadd4c00c120c9c585240da466b4
  Author: Fraser Cormack <fraser at codeplay.com>
  Date:   2025-05-01 (Thu, 01 May 2025)

  Changed paths:
    M libclc/clc/lib/generic/math/clc_tables.cl
    M libclc/generic/lib/math/tables.cl

  Log Message:
  -----------
  [libclc] Move log2/log10 tables to CLC tables impl

These two tables were being used by the CLC library but their
definitions still remained in the OpenCL layer. This worked out after
linking the two together but is a layering violation.

This had a side effect of removing the two table getters from the final
bytecode library, which were never intended to be exposed.

These two tables should probably be refactored so allow better
vectorization of log/log2/log10, but that is left to future work.



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