1 ; RUN: opt < %s -simplify-libcalls -instcombine -S | grep {ret i32 -65}
4 define i32 @test() nounwind {
6 %c0 = alloca i8, align 1 ; <i8*> [#uses=2]
7 %c2 = alloca i8, align 1 ; <i8*> [#uses=2]
10 %call = call i32 @memcmp(i8* %c0, i8* %c2, i32 1) ; <i32> [#uses=1]
14 declare i32 @memcmp(i8*, i8*, i32)