blob: 6fbe0b9de44ec054898caeecb112250ebde5d7d3 [file] [log] [blame]
Dan Gohman3c7d3082009-09-11 18:01:28 +00001; RUN: opt < %s -simplify-libcalls -S | grep {select i1 %ispos}
Chris Lattnera365b9b2008-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