mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-16 11:05:54 +00:00
8e5d01cd6e
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@125279 91177308-0d34-0410-b5e6-96231b3b80d8
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
|
|
}
|