[all-commits] [llvm/llvm-project] a9a5a1: [SPIRV] Add sign intrinsic part 1 (#101987)

Tim Gymnich via All-commits all-commits at lists.llvm.org
Mon Sep 9 14:27:49 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a9a5a18a0e99b0251c0fe6ce61c5e699bf6b379b
      https://github.com/llvm/llvm-project/commit/a9a5a18a0e99b0251c0fe6ce61c5e699bf6b379b
  Author: Tim Gymnich <tgymnich at icloud.com>
  Date:   2024-09-09 (Mon, 09 Sep 2024)

  Changed paths:
    M llvm/include/llvm/IR/IntrinsicsSPIRV.td
    M llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp
    A llvm/test/CodeGen/SPIRV/hlsl-intrinsics/sign.ll

  Log Message:
  -----------
  [SPIRV] Add sign intrinsic part 1 (#101987)

partially fixes #70078

### Changes
- Added `int_spv_sign` intrinsic in `IntrinsicsSPIRV.td`
- Added lowering and map to `int_spv_sign in
`SPIRVInstructionSelector.cpp`
- Added SPIR-V backend test case in
`llvm/test/CodeGen/SPIRV/hlsl-intrinsics/sign.ll`

### Related PRs
- https://github.com/llvm/llvm-project/pull/101988
- https://github.com/llvm/llvm-project/pull/101989



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