repo.or.cz
/
llvm
/
msp430.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Implement bswap
[llvm/msp430.git]
/
test
/
Transforms
/
SimplifyLibCalls
/
abs.ll
blob
520189bb28f1b30085817cfb6bc667daa98940f4
1
; RUN: llvm-as < %s | opt -simplify-libcalls | llvm-dis | grep {select i1 %ispos}
2
; PR2337
3
4
define i32 @test(i32 %x) {
5
entry:
6
%call = call i32 @abs( i32 %x ) ; <i32> [#uses=1]
7
ret i32 %call
8
}
9
10
declare i32 @abs(i32)
11