[NVPTX] Associate a minimum PTX version for each SM architecture
authorJustin Holewinski <jholewinski@nvidia.com>
Mon, 30 Mar 2015 19:30:55 +0000 (19:30 +0000)
committerJustin Holewinski <jholewinski@nvidia.com>
Mon, 30 Mar 2015 19:30:55 +0000 (19:30 +0000)
commite6d64610672b1ee31bad39062417d7c113a42799
tree9da82e6e0ad63fcec001a87515774415b282ba55
parent3637babc4c1d971dde00812f139bec9c3647ae2b
[NVPTX] Associate a minimum PTX version for each SM architecture

When a new SM architecture is introduced, it is only supported by the
current PTX version and later.  Make sure we are using at least the
minimum PTX version for the target architecture.

This also removes support for PTX ISA < 3.2.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@233583 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/NVPTX/NVPTX.td
test/CodeGen/NVPTX/ptx-version-30.ll [deleted file]
test/CodeGen/NVPTX/ptx-version-31.ll [deleted file]
test/CodeGen/NVPTX/sm-version-30.ll
test/CodeGen/NVPTX/sm-version-32.ll
test/CodeGen/NVPTX/sm-version-35.ll
test/CodeGen/NVPTX/sm-version-37.ll
test/CodeGen/NVPTX/sm-version-50.ll [new file with mode: 0644]
test/CodeGen/NVPTX/sm-version-52.ll
test/CodeGen/NVPTX/sm-version-53.ll