• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: llvm-reduce --test FileCheck --test-arg --check-prefixes=CHECK-ALL,CHECK-INTERESTINGNESS --test-arg %s --test-arg --input-file %s -o %t
2; RUN: cat %t | FileCheck --check-prefixes=CHECK-ALL,CHECK-FINAL %s
3
4; We cannot change the @alias to undef, because it would result in invalid IR
5; (Aliasee should be either GlobalValue or ConstantExpr).
6
7; CHECK-INTERESTINGNESS: @alias =
8; CHECK-FINAL: @alias = alias void (i32), bitcast (void ()* @func to void (i32)*)
9
10@alias = alias void (i32), void (i32)* @func
11
12; CHECK-FINAL: @func()
13
14define void @func(i32 %arg) {
15entry:
16  ret void
17}
18