1 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --version 3
2 ; RUN: opt < %s -passes=instcombine -S | FileCheck %s
4 define i64 @pr69059() {
5 ; CHECK-LABEL: define i64 @pr69059() {
7 ; CHECK-NEXT: [[CALL:%.*]] = call i64 @labs(i32 0)
8 ; CHECK-NEXT: ret i64 [[CALL]]
11 %call = call i64 @labs(i32 0)
15 ; negative test: not a valid libfunc proto
16 declare i64 @labs(i32)