brintos

brintos / llvm-project-archived public Read only

0
0
Text · 405 B · 2bcb49e Raw
15 lines · plain
1; Test that llvm-reduce does not remove the entry block of functions.2;3; RUN: llvm-reduce --abort-on-invalid-reduction --delta-passes=basic-blocks --test FileCheck --test-arg --check-prefixes=CHECK-INTERESTINGNESS --test-arg %s --test-arg --input-file %s -o %t4; RUN: FileCheck %s < %t5 6; CHECK-INTERESTINGNESS: foo7 8; CHECK: add i329define i32 @foo() {10uninteresting:11  %a = add i32 0, 012  ret i32 013}14 15