brintos

brintos / llvm-project-archived public Read only

0
0
Text · 549 B · 48e4e1c Raw
18 lines · plain
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 %t2; RUN: FileCheck --check-prefix=CHECK-FINAL %s < %t3 4; We cannot change the @alias to undef, because it would result in invalid IR5; (Aliasee should be either GlobalValue or ConstantExpr).6 7; CHECK-INTERESTINGNESS: @alias =8; CHECK-FINAL: @alias = alias void (i32), ptr @func9 10@alias = alias void (i32), ptr @func11 12; CHECK-FINAL: @func()13 14define void @func(i32 %arg) {15entry:16  ret void17}18