llvm-6502/test/CodeGen/PTX/options.ll
2010-11-30 10:14:14 +00:00

7 lines
178 B
LLVM

; RUN: llc < %s -march=ptx -ptx-version=2.0 | grep ".version 2.0"
; RUN: llc < %s -march=ptx -ptx-target=sm_20 | grep ".target sm_20"
define ptx_device void @t1() {
ret void
}