1 ; Test that llvm-reduce can remove uninteresting function arguments from function definitions as well as their calls.
3 ; RUN: llvm-reduce --abort-on-invalid-reduction -delta-passes=arguments --test %python --test-arg %p/Inputs/remove-args.py %s -o %t
4 ; RUN: cat %t | FileCheck -implicit-check-not=uninteresting %s
6 ; CHECK: @interesting(i32 %interesting)
7 define void @interesting(i32 %uninteresting1, i32 %interesting, i32 %uninteresting2) {
9 ; CHECK: call void @interesting(i32 0)
10 call void @interesting(i32 -1, i32 0, i32 -1)