summaryrefslogtreecommitdiffstats
path: root/test/CodeGen/PTX/options.ll
blob: a14d5c9c27ba9882a6ab448609986f93cb4a16a2 (plain)
1
2
3
4
5
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
}
OpenPOWER on IntegriCloud