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

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 14 04:26:42 PDT 2018


arsenm requested changes to this revision.
arsenm added inline comments.
This revision now requires changes to proceed.


================
Comment at: include/llvm/IR/IntrinsicsAMDGPU.td:1070
 // __builtin_amdgcn_interp_p2 <p1>, <j>, <attr_chan>, <attr>, <m0>
 def int_amdgcn_interp_p2 :
   GCCBuiltin<"__builtin_amdgcn_interp_p2">,
----------------
You should add name mangling to the existing intrinsics rather than new intrinsics. The builtin declaration needs to be done in clang for the GCCBuiltin


Repository:
  rL LLVM

https://reviews.llvm.org/D46754





More information about the llvm-commits mailing list