[PATCH] D26725: AMDGPU: Add llvm.amdgcn.interp.mov intrinsic

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 15 18:22:57 PST 2016


arsenm added inline comments.


================
Comment at: test/CodeGen/AMDGPU/llvm.amdgcn.interp.ll:18
   %p1_1 = call float @llvm.amdgcn.interp.p2(float %p0_1, float %j, i32 1, i32 0, i32 %3)
-  call void @llvm.SI.export(i32 15, i32 1, i32 1, i32 0, i32 1, float %p0_0, float %p0_0, float %p1_1, float %p1_1)
+  %const = call float @llvm.amdgcn.interp.mov(i32 2, i32 0, i32 0, i32 %3)
+  %w = fadd float %p1_1, %const
----------------
Do the source modifies work? There should be a test using them


https://reviews.llvm.org/D26725





More information about the llvm-commits mailing list