[PATCH] D21160: [NVPTX] Add intrinsics for shfl instructions.

Artem Belevich via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 9 11:02:40 PDT 2016


tra accepted this revision.
tra added a comment.
This revision is now accepted and ready to land.

LGTM


================
Comment at: test/CodeGen/NVPTX/shfl.ll:19
@@ +18,3 @@
+  ; CHECK: shfl.down.b32 [[OUT:%r[0-9]+]], [[IN]], 1, 2;
+  ; CHECK: st.param.{{.}}32 {{.*}}, [[OUT]]
+  %val = call i32 @llvm.nvvm.shfl.down.i32(i32 %in, i32 1, i32 2)
----------------
I'm curious why {{.}}32 here? Do you expect return type to change?


http://reviews.llvm.org/D21160





More information about the llvm-commits mailing list