This revision was automatically updated to reflect the committed changes.
Closed by commit rC352358: [AMDGPU] Add interpolation builtins (authored by
timcorringham, committed by ).
Herald added a subscriber: jvesely.
Changed prior to commit:
https://reviews.llvm.org/D46871?vs=147460&id=183837#t
timcorringham updated this revision to Diff 147460.
timcorringham added a comment.
[AMDGPU] Add interpolation builtins
Updated LIT test so that it only tests for the existence of the builtins
by checking the IR.
Repository:
rC Clang
https://reviews.llvm.org/D46871
Files:
include/clang/Bas
timcorringham added inline comments.
Comment at: include/clang/Basic/BuiltinsAMDGPU.def:103-107
+BUILTIN(__builtin_amdgcn_interp_p1_f16, "ffUiUibUi", "nc")
+BUILTIN(__builtin_amdgcn_interp_p2_f16, "hffUiUibUi", "nc")
+BUILTIN(__builtin_amdgcn_interp_p1, "ffUiUiUi", "nc")
+BUILTIN
timcorringham created this revision.
Herald added subscribers: cfe-commits, t-tye, tpr, dstuttard, yaxunl, nhaehnle,
wdng, kzhuravl.
Added builtins for the interpolation intrinsics, and related LIT
test.
Repository:
rC Clang
https://reviews.llvm.org/D46871
Files:
include/clang/Basic/Built