repo.or.cz
/
llvm
/
stm8.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Silence -Wunused-variable in release builds.
[llvm/stm8.git]
/
test
/
Transforms
/
SimplifyLibCalls
/
abs.ll
blob
6fbe0b9de44ec054898caeecb112250ebde5d7d3
1
; RUN: opt < %s -simplify-libcalls -S | 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