repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Revert " [LoongArch][ISel] Check the number of sign bits in `PatGprGpr_32` (#107432)"
[llvm-project.git]
/
llvm
/
test
/
CodeGen
/
Generic
/
call-ret42.ll
blob
95cc28625aa6a7627185b2b17f3feb0ae42edc76
1
; RUN: llc < %s
2
3
define i32 @foo(i32 %x) {
4
ret i32 42
5
}
6
7
define i32 @main() {
8
%r = call i32 @foo( i32 15 ) ; <i32> [#uses=1]
9
ret i32 %r
10
}