blob: 3934a5b98f74044c76cb85eb20b437f1b2062715 [file] [log] [blame]
Chandler Carruth4177e6f2012-07-02 12:47:22 +00001; RUN: opt < %s -simplify-libcalls -S | grep "select i1 %ispos"
Chris Lattner313f0e62008-06-09 08:26:51 +00002; PR2337
3
4define i32 @test(i32 %x) {
5entry:
6 %call = call i32 @abs( i32 %x ) ; <i32> [#uses=1]
7 ret i32 %call
8}
9
10declare i32 @abs(i32)
11