1; NOTE: Assertions have been autogenerated by utils/update_test_checks.py 2; RUN: opt < %s -passes=instcombine -S | FileCheck %s 3 4; The argument types should match if it is the standard library calloc. 5; Don't crash analyzing an imposter. 6 7declare ptr @calloc(i64, i32) 8 9define void @PR50846() { 10; CHECK-LABEL: @PR50846( 11; CHECK-NEXT: [[CALL:%.*]] = call ptr @calloc(i64 1, i32 1) 12; CHECK-NEXT: ret void 13; 14 %call = call ptr @calloc(i64 1, i32 1) 15 ret void 16} 17