1*1437a834SRushi Bhamani; RUN: llvm-reduce --abort-on-invalid-reduction --test FileCheck --test-arg --check-prefixes=CHECK-ALL,CHECK-INTERESTINGNESS --test-arg %s --test-arg --input-file %s -o %t 20bc5436aSSamuel; RUN: cat %t | FileCheck --check-prefixes=CHECK-ALL,CHECK-FINAL %s 30bc5436aSSamuel 40bc5436aSSamuel; CHECK-INTERESTINGNESS-LABEL: @interesting( 50bc5436aSSamuel; CHECK-INTERESTINGNESS-SAME: i32 60bc5436aSSamuel; CHECK-FINAL: declare void @interesting(i32) 70bc5436aSSamueldeclare void @interesting(i32 %uninteresting1, i32 %interesting, i32 %uninteresting2) 80bc5436aSSamuel 90bc5436aSSamuel; CHECK-INTERESTINGNESS-LABEL: @interesting2( 100bc5436aSSamuel; CHECK-INTERESTINGNESS-SAME: i32 110bc5436aSSamuel; CHECK-FINAL: declare void @interesting2(i32) 120bc5436aSSamueldeclare void @interesting2(i32 %uninteresting1, i32 %interesting, i32 %uninteresting2) 130bc5436aSSamuel 140bc5436aSSamuel; CHECK-INTERESTINGNESS-LABEL: @callee( 150bc5436aSSamuel; CHECK-INTERESTINGNESS-SAME: i32 %interesting 160bc5436aSSamuel; CHECK-FINAL: define void @callee(i32 %interesting) { 170bc5436aSSamueldefine void @callee(i32 %uninteresting1, i32 %interesting, i32 %uninteresting2) { 180bc5436aSSamuel; CHECK-INTERESTINGNESS: call void @interesting2( 190bc5436aSSamuel; CHECK-INTERESTINGNESS-SAME: i32 %interesting 200bc5436aSSamuel; CHECK-FINAL: call void @interesting2(i32 %interesting) 210bc5436aSSamuel call void @interesting2(i32 %uninteresting1, i32 %interesting, i32 %uninteresting2) 220bc5436aSSamuel; CHECK-ALL: ret void 230bc5436aSSamuel ret void 240bc5436aSSamuel} 25