1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00
llvm-mirror/test/CodeGen/NVPTX/sm-version-52.ll
Justin Holewinski d3f53679f7 [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.

llvm-svn: 233583
2015-03-30 19:30:55 +00:00

8 lines
162 B
LLVM

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