1 ; RUN: llvm-reduce --test FileCheck --test-arg --check-prefix=CHECK-INTERESTINGNESS --abort-on-invalid-reduction --test-arg %s --test-arg --input-file %s -o %t
2 ; RUN: FileCheck --check-prefix=CHECK-FINAL %s < %t
4 ; We cannot change the @alias to undef, because it would result in invalid IR
5 ; (Aliasee should be either GlobalValue or ConstantExpr).
7 ; CHECK-INTERESTINGNESS: @alias =
8 ; CHECK-FINAL: @alias = alias void (i32), ptr @func
10 @alias = alias void (i32), ptr @func
12 ; CHECK-FINAL: @func()
14 define void @func(i32 %arg) {