[all-commits] [llvm/llvm-project] 767f01: [libclc] Use float sw_fma for spirv*-mesa-mesa3d t...

Wenju He via All-commits all-commits at lists.llvm.org
Thu May 28 22:28:39 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 767f01e0910d9211486d4022c5c5e7d71c85dff2
      https://github.com/llvm/llvm-project/commit/767f01e0910d9211486d4022c5c5e7d71c85dff2
  Author: Wenju He <wenju.he at intel.com>
  Date:   2026-05-29 (Fri, 29 May 2026)

  Changed paths:
    A libclc/clc/include/clc/internal/math/clc_runtime_has_hw_fma32.h
    M libclc/clc/include/clc/internal/math/clc_sw_fma.h
    M libclc/clc/include/clc/math/clc_fma.h
    M libclc/clc/lib/generic/math/clc_fma.cl
    M libclc/clc/lib/spirv/CMakeLists.txt
    A libclc/clc/lib/spirv/math/clc_fma.cl
    A libclc/clc/lib/spirv/math/clc_fma.inc
    A libclc/clc/lib/spirv/math/clc_runtime_has_hw_fma32.cl
    A libclc/clc/lib/spirv/math/clc_sw_fma.cl
    M libclc/clc/lib/spirv/vulkan/CMakeLists.txt
    R libclc/clc/lib/spirv/vulkan/math/clc_sw_fma.cl
    M libclc/opencl/lib/generic/math/fma.cl
    M libclc/opencl/lib/spirv/CMakeLists.txt
    A libclc/opencl/lib/spirv/math/fma.cl

  Log Message:
  -----------
  [libclc] Use float sw_fma for spirv*-mesa-mesa3d targets (#199626)

This partially reverts 39f3d72b72fd, which changes almost all targets to
use __builtin_elementwise_fma.
The same revert was done for clspv in 1d719edd9935.

Restore __clc_runtime_has_hw_fma32 so that Mesa can dynamically change
its behavior to enable native fma for specific hardware.

Fixes #198542



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