[NVPTX] Flag surface/texture query instructions with IsTexSurfQuery
authorJustin Holewinski <jholewinski@nvidia.com>
Thu, 17 Jul 2014 14:51:33 +0000 (14:51 +0000)
committerJustin Holewinski <jholewinski@nvidia.com>
Thu, 17 Jul 2014 14:51:33 +0000 (14:51 +0000)
commitb26ede07adf207680217dd364b90de1be01e3ef9
treecb7118d047a9eb70ae7da7515e2beef24566c842
parentd6663f565ca0b4400e4f07b78405e3ff6eb246f3
[NVPTX] Flag surface/texture query instructions with IsTexSurfQuery

Also, add some tests to make sure we can handle surface/texture
queries on both Fermi and Kepler+.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@213268 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/NVPTX/NVPTXIntrinsics.td
test/CodeGen/NVPTX/texsurf-queries.ll [new file with mode: 0644]