[all-commits] [llvm/llvm-project] 4036a6: [HLSL] move rcp to cgbuiltins (#88401)

Farzon Lotfi via All-commits all-commits at lists.llvm.org
Thu Apr 11 15:26:47 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4036a6946e5420bb77a93037c83732be600b9b0b
      https://github.com/llvm/llvm-project/commit/4036a6946e5420bb77a93037c83732be600b9b0b
  Author: Farzon Lotfi <1802579+farzonl at users.noreply.github.com>
  Date:   2024-04-11 (Thu, 11 Apr 2024)

  Changed paths:
    M clang/lib/CodeGen/CGBuiltin.cpp
    M clang/test/CodeGenHLSL/builtins/rcp.hlsl
    M llvm/lib/Target/DirectX/DXILIntrinsicExpansion.cpp
    R llvm/test/CodeGen/DirectX/rcp.ll
    A llvm/test/CodeGen/SPIRV/hlsl-intrinsics/rcp.ll

  Log Message:
  -----------
  [HLSL] move rcp to cgbuiltins (#88401)

Removing the intrinsic because there is no opCodes for rcp in DXIL or
SPIR-V.
Moving means we don't have to re-implement this feature for each
backend.

fixes #87784

Co-authored-by: Farzon Lotfi <farzon at farzon.com>



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