[all-commits] [llvm/llvm-project] 0375ef: [Clang][AMDGPU] Add __builtin_amdgcn_cvt_off_f32_i...

Juan Manuel Martinez Caamaño via All-commits all-commits at lists.llvm.org
Wed Apr 2 10:52:01 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0375ef07c3e05e972e723779c5ca142130961e5e
      https://github.com/llvm/llvm-project/commit/0375ef07c3e05e972e723779c5ca142130961e5e
  Author: Juan Manuel Martinez Caamaño <jmartinezcaamao at gmail.com>
  Date:   2025-04-02 (Wed, 02 Apr 2025)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/include/clang/Basic/BuiltinsAMDGPU.def
    A clang/test/CodeGenOpenCL/builtins-amdgcn-cvt-off-f32-i4.cl
    A clang/test/SemaOpenCL/builtins-amdgcn-cvt-off-f32-i4-err.cl
    M llvm/include/llvm/IR/IntrinsicsAMDGPU.td
    M llvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUInstCombineIntrinsic.cpp
    M llvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
    M llvm/lib/Target/AMDGPU/VOP1Instructions.td
    A llvm/test/CodeGen/AMDGPU/llvm.amdgcn.cvt.off.f32.i4.ll
    A llvm/test/Transforms/InstCombine/AMDGPU/simplify-amdgcn.cvt.off.f32.i4.ll

  Log Message:
  -----------
  [Clang][AMDGPU] Add __builtin_amdgcn_cvt_off_f32_i4 (#133741)

This built-in maps to `V_CVT_OFF_F32_I4` which treats its input as
a 4-bit signed integer and returns `0.0625f * src`.

SWDEV-518861



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