1 ; llvm-reduce shouldn't remove arguments of debug intrinsics, because the resulting module will be ill-formed.
3 ; RUN: llvm-reduce --abort-on-invalid-reduction --delta-passes=arguments --test FileCheck --test-arg --check-prefixes=CHECK-INTERESTINGNESS --test-arg %s --test-arg --input-file %s --output %t
4 ; RUN: FileCheck --check-prefix=CHECK-FINAL %s < %t
6 ; CHECK-INTERESTINGNESS: declare void @llvm.dbg.declare
7 ; CHECK-FINAL: declare void @llvm.dbg.declare(metadata, metadata, metadata)
8 declare void @llvm.dbg.declare(metadata, metadata, metadata)
9 ; CHECK-INTERESTINGNESS: declare void @llvm.dbg.value
10 ; CHECK-FINAL: declare void @llvm.dbg.value(metadata, metadata, metadata)
11 declare void @llvm.dbg.value(metadata, metadata, metadata)