[PATCH] D46754: [AMDGPU] Add intrinsics for 16 bit interpolation

Tim Corringham via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 18 10:00:31 PDT 2018


timcorringham updated this revision to Diff 147544.
timcorringham added a comment.

Corrected the ordering of operands to interp_p2_f16, added lowered 
intrinsics to list of those that cware a source of divergence, and
amended LIT test.

I have not overloaded the intrinsics as I don't believe it is possible
in this case as they have an additional operand, and apart from that 
additional operand the interp_p1_f16 has the same types as the 32 bit
version, so there are no type differences to provide disambiguation.


Repository:
  rL LLVM

https://reviews.llvm.org/D46754

Files:
  include/llvm/IR/IntrinsicsAMDGPU.td
  lib/Target/AMDGPU/AMDGPUISelLowering.cpp
  lib/Target/AMDGPU/AMDGPUISelLowering.h
  lib/Target/AMDGPU/AMDGPUInstrInfo.td
  lib/Target/AMDGPU/AMDGPUSearchableTables.td
  lib/Target/AMDGPU/SIISelLowering.cpp
  lib/Target/AMDGPU/VOP3Instructions.td
  test/CodeGen/AMDGPU/llvm.amdgcn.interp.f16.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D46754.147544.patch
Type: text/x-patch
Size: 13052 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180518/b3efb610/attachment.bin>


More information about the llvm-commits mailing list