projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Covert this test to .s form.
[oota-llvm.git]
/
test
/
CodeGen
/
PTX
/
mov.ll
1
; RUN: llc < %s -march=ptx | FileCheck %s
2
3
define ptx_device i32 @t1() {
4
;CHECK: mov.s32 r0, 0;
5
;CHECK: ret;
6
ret i32 0
7
}
8
9
define ptx_device i32 @t2(i32 %x) {
10
;CHECK: mov.s32 r0, r1;
11
;CHECK: ret;
12
ret i32 %x
13
}