1435537e007869d897d6b1a59ebbbc991eb295e1
[oota-llvm.git] / test / CodeGen / PTX / options.ll
1 ; RUN: llc < %s -march=ptx -mattr=ptx14 | grep ".version 1.4"
2 ; RUN: llc < %s -march=ptx -mattr=ptx20 | grep ".version 2.0"
3 ; RUN: llc < %s -march=ptx -mattr=ptx21 | grep ".version 2.1"
4 ; RUN: llc < %s -march=ptx -mattr=sm20 | grep ".target sm_20"
5 ; RUN: llc < %s -march=ptx -mattr=sm13 | grep ".target sm_13"
6
7 define ptx_device void @t1() {
8         ret void
9 }