Heuristic: If the number of operands in the alias are more than the number of
[llvm/stm8.git] / test / Transforms / SimplifyLibCalls / abs.ll
blob6fbe0b9de44ec054898caeecb112250ebde5d7d3
1 ; RUN: opt < %s -simplify-libcalls -S | grep {select i1 %ispos}
2 ; PR2337
4 define i32 @test(i32 %x) {
5 entry:
6         %call = call i32 @abs( i32 %x )         ; <i32> [#uses=1]
7         ret i32 %call
10 declare i32 @abs(i32)