[PATCH] D17187: AMDGPU: Add intrinsics for sin/cos

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 11 23:38:34 PST 2016


arsenm created this revision.
arsenm added a reviewer: tstellarAMD.
arsenm added a subscriber: llvm-commits.
Herald added a subscriber: arsenm.

These provide direct access to the hardware instruction without
the unit version required like llvm.sin/llvm.cos lowering requires.

http://reviews.llvm.org/D17187

Files:
  include/llvm/IR/IntrinsicsAMDGPU.td
  lib/Target/AMDGPU/SIISelLowering.cpp
  lib/Target/AMDGPU/SIInstructions.td
  test/CodeGen/AMDGPU/llvm.amdgcn.cos.ll
  test/CodeGen/AMDGPU/llvm.amdgcn.log.clamp.ll
  test/CodeGen/AMDGPU/llvm.amdgcn.sin.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D17187.47768.patch
Type: text/x-patch
Size: 4911 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160212/2b310b46/attachment.bin>


More information about the llvm-commits mailing list