mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-12-15 04:00:56 +00:00
0afca26e90
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
8 lines
162 B
LLVM
8 lines
162 B
LLVM
; RUN: llc < %s -march=nvptx -mcpu=sm_53 | FileCheck %s
|
|
; RUN: llc < %s -march=nvptx64 -mcpu=sm_53 | FileCheck %s
|
|
|
|
|
|
; CHECK: .version 4.2
|
|
; CHECK: .target sm_53
|
|
|