[all-commits] [llvm/llvm-project] 4cea2d: [HLSL][DXIL] implement `sqrt` intrinsic (#86560)

Farzon Lotfi via All-commits all-commits at lists.llvm.org
Mon Mar 25 15:02:52 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4cea2d049f511d16cbc4605f7ecc908c851e169e
      https://github.com/llvm/llvm-project/commit/4cea2d049f511d16cbc4605f7ecc908c851e169e
  Author: Farzon Lotfi <1802579+farzonl at users.noreply.github.com>
  Date:   2024-03-25 (Mon, 25 Mar 2024)

  Changed paths:
    M clang/lib/Headers/hlsl/hlsl_intrinsics.h
    M clang/test/CodeGenHLSL/builtins/sqrt.hlsl
    M llvm/lib/Target/DirectX/DXIL.td
    A llvm/test/CodeGen/DirectX/sqrt.ll
    A llvm/test/CodeGen/DirectX/sqrt_error.ll

  Log Message:
  -----------
  [HLSL][DXIL] implement `sqrt` intrinsic (#86560)

completes #86187
- fix hlsl_intrinsic to cover the correct cases
- move to using `__builtin_elementwise_sqrt`
- add lowering of `Intrinsic::sqrt` to dxilop 24.



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