[all-commits] [llvm/llvm-project] 15a200: [CIR][AMDGPU] Add support for AMDGCN sqrt builtins...

Ayokunle Amodu via All-commits all-commits at lists.llvm.org
Wed Jul 15 08:08:45 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 15a20079696696162af6aa532bd95f8cd010aaa5
      https://github.com/llvm/llvm-project/commit/15a20079696696162af6aa532bd95f8cd010aaa5
  Author: Ayokunle Amodu <ayokunle321 at gmail.com>
  Date:   2026-07-15 (Wed, 15 Jul 2026)

  Changed paths:
    M clang/lib/CIR/CodeGen/CIRGenBuiltinAMDGPU.cpp
    M clang/test/CIR/CodeGenHIP/builtins-amdgcn-gfx1250.hip
    M clang/test/CIR/CodeGenHIP/builtins-amdgcn-vi-f16.hip
    M clang/test/CIR/CodeGenHIP/builtins-amdgcn.hip

  Log Message:
  -----------
  [CIR][AMDGPU] Add support for AMDGCN sqrt builtins (#197342)

Adds codegen for the following AMDGCN square root builtins:

- __builtin_amdgcn_sqrt (double)
- __builtin_amdgcn_sqrtf (float)
- __builtin_amdgcn_sqrth (half)
- __builtin_amdgcn_sqrt_bf16 (bfloat16)

These are lowered to the corresponding `llvm.amdgcn.sqrt` intrinsic calls.



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