[NVPTX] Restructure shfl instrinsics and add variants that return a predicate.
authorArtem Belevich <tra@google.com>
Mon, 14 Oct 2019 16:53:34 +0000 (16:53 +0000)
committerArtem Belevich <tra@google.com>
Mon, 14 Oct 2019 16:53:34 +0000 (16:53 +0000)
commit5c6ab2a0b1f2da22c8ce4fbfc022f599aaa4a2a6
tree02b078e38e10dc574a0d5faf200e6e0cf956ad9c
parente8877d0439369215f5ac03ef38414373d495d311
[NVPTX] Restructure shfl instrinsics and add variants that return a predicate.

Also, amend constraints for non-sync variants that are no longer
available on sm_70+ with PTX6.4+.

Differential Revision: https://reviews.llvm.org/D68892

llvm-svn: 374790
llvm/include/llvm/IR/IntrinsicsNVVM.td
llvm/lib/Target/NVPTX/NVPTXInstrInfo.td
llvm/lib/Target/NVPTX/NVPTXIntrinsics.td
llvm/test/CodeGen/NVPTX/shfl-p.ll [new file with mode: 0644]
llvm/test/CodeGen/NVPTX/shfl-sync-p.ll [new file with mode: 0644]