[PATCH] D23682: AMDGPU: Add Clang builtin intrinsics for ds_swizzle

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 18 11:18:28 PDT 2016


arsenm added inline comments.

================
Comment at: include/clang/Basic/BuiltinsAMDGPU.def:79
@@ -78,2 +78,3 @@
 BUILTIN(__builtin_amdgcn_fcmpf, "LUiffIi", "nc")
+BUILTIN(__builtin_amdgcn_ds_swizzle, "iii", "nc")
 
----------------
The constant operand should marked with I (and there should be a test that it errors with a non-constant)


https://reviews.llvm.org/D23682





More information about the llvm-commits mailing list