diff options
Diffstat (limited to 'test/CodeGen/PTX/options.ll')
-rw-r--r-- | test/CodeGen/PTX/options.ll | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/CodeGen/PTX/options.ll b/test/CodeGen/PTX/options.ll new file mode 100644 index 0000000..a14d5c9 --- /dev/null +++ b/test/CodeGen/PTX/options.ll @@ -0,0 +1,6 @@ +; 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 +} |