[all-commits] [llvm/llvm-project] 2ae688: [SPIRV] Add trig function lowering (#95973)

Farzon Lotfi via All-commits all-commits at lists.llvm.org
Thu Jun 20 07:34:44 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2ae6889d3f6c6bbe8390d6b1686c6583492b44a2
      https://github.com/llvm/llvm-project/commit/2ae6889d3f6c6bbe8390d6b1686c6583492b44a2
  Author: Farzon Lotfi <1802579+farzonl at users.noreply.github.com>
  Date:   2024-06-20 (Thu, 20 Jun 2024)

  Changed paths:
    M llvm/docs/GlobalISel/GenericOpcode.rst
    M llvm/include/llvm/Support/TargetOpcodes.def
    M llvm/include/llvm/Target/GenericOpcodes.td
    M llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
    M llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp
    M llvm/lib/Target/SPIRV/SPIRVLegalizerInfo.cpp
    M llvm/test/CodeGen/AArch64/GlobalISel/legalizer-info-validation.mir
    A llvm/test/CodeGen/SPIRV/hlsl-intrinsics/acos.ll
    A llvm/test/CodeGen/SPIRV/hlsl-intrinsics/asin.ll
    A llvm/test/CodeGen/SPIRV/hlsl-intrinsics/atan.ll
    A llvm/test/CodeGen/SPIRV/hlsl-intrinsics/cosh.ll
    A llvm/test/CodeGen/SPIRV/hlsl-intrinsics/sinh.ll
    A llvm/test/CodeGen/SPIRV/hlsl-intrinsics/tanh.ll

  Log Message:
  -----------
  [SPIRV] Add trig function lowering (#95973)

This change is part of this proposal:
https://discourse.llvm.org/t/rfc-all-the-math-intrinsics/78294

This is part 2 of 4 PRs. It sets the ground work for adding the
intrinsics.

Add SPIRV  Lower for `acos`, `asin`, `atan`, `cosh`, `sinh`, and `tanh`
https://github.com/llvm/llvm-project/issues/70079
https://github.com/llvm/llvm-project/issues/70080
https://github.com/llvm/llvm-project/issues/70081
https://github.com/llvm/llvm-project/issues/70083
https://github.com/llvm/llvm-project/issues/70084
https://github.com/llvm/llvm-project/issues/95966


There isn't any aarch64 change in this pr, but when you add a target
opcode it is visible in there validaiton tests.



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