llvm-6502/test/CodeGen/NVPTX/sm-version-32.ll
Justin Holewinski e6d6461067 [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
2015-03-30 19:30:55 +00:00

8 lines
162 B
LLVM

; RUN: llc < %s -march=nvptx -mcpu=sm_32 | FileCheck %s
; RUN: llc < %s -march=nvptx64 -mcpu=sm_32 | FileCheck %s
; CHECK: .version 4.0
; CHECK: .target sm_32