blob: 637d335a4fe82d1313faf4dd39a23beb5b811d5c [file] [log] [blame]
Dan Gohman3e054fe2009-09-08 22:34:10 +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