blob: 6576a6d8bbb874dfd53af179a21c01799ea4c4be [file] [log] [blame]
Che-Liang Chiou65b14762011-03-02 03:20:28 +00001; RUN: llc < %s -march=ptx -mattr=ptx20 | grep ".version 2.0"
2; RUN: llc < %s -march=ptx -mattr=ptx21 | grep ".version 2.1"
Justin Holewinski94751fb2011-03-15 13:24:15 +00003; RUN: llc < %s -march=ptx -mattr=ptx22 | grep ".version 2.2"
4; RUN: llc < %s -march=ptx -mattr=sm10 | grep ".target sm_10"
Che-Liang Chiou65b14762011-03-02 03:20:28 +00005; RUN: llc < %s -march=ptx -mattr=sm13 | grep ".target sm_13"
Justin Holewinski94751fb2011-03-15 13:24:15 +00006; RUN: llc < %s -march=ptx -mattr=sm20 | grep ".target sm_20"
Che-Liang Chioue9baf132010-11-30 10:14:14 +00007
8define ptx_device void @t1() {
9 ret void
10}