mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-16 11:30:51 +00:00
e6d6461067
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
8 lines
162 B
LLVM
8 lines
162 B
LLVM
; RUN: llc < %s -march=nvptx -mcpu=sm_30 | FileCheck %s
|
|
; RUN: llc < %s -march=nvptx64 -mcpu=sm_30 | FileCheck %s
|
|
|
|
|
|
; CHECK: .version 3.2
|
|
; CHECK: .target sm_30
|
|
|