mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-01 16:33:37 +01:00
762ff2a943
llvm-svn: 125279
15 lines
237 B
LLVM
15 lines
237 B
LLVM
; RUN: llc < %s -march=ptx | FileCheck %s
|
|
|
|
define ptx_kernel void @t1() {
|
|
; CHECK: exit;
|
|
; CHECK-NOT: ret;
|
|
ret void
|
|
}
|
|
|
|
define ptx_kernel void @t2(i32* %p, i32 %x) {
|
|
store i32 %x, i32* %p
|
|
; CHECK: exit;
|
|
; CHECK-NOT: ret;
|
|
ret void
|
|
}
|