blob: c365e9beb8973ad4ffe21a2f94ead5b0a4edf0f2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
; RUN: llc < %s -march=ptx | FileCheck %s
define ptx_device i32 @t1() {
; CHECK: mov.s32 r0, 0;
; CHECK: ret;
ret i32 0
}
define ptx_device i32 @t2(i32 %x) {
; CHECK: mov.s32 r0, r1;
; CHECK: ret;
ret i32 %x
}
|