Fix -Asserts warning, round two.
[oota-llvm.git] / test / Analysis / Profiling / 2009-08-21-only-one-block.ll
1 ; RUN: llvm-as < %s | opt -insert-edge-profiling > %t1
2 ; RUN: lli -load %llvmlibsdir/profile_rt%shlibext %t1
3 ; RUN: mv llvmprof.out %t2
4 ; RUN: llvm-prof -print-all-code %t1 %t2 | tee %t3 | FileCheck %s
5 ; CHECK:  1.     1/1 main
6 ; CHECK:  1.   100%     1/1     main() - entry
7 ; ModuleID = '<stdin>'
8 target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128"
9 target triple = "x86_64-unknown-linux-gnu"
10
11 ; CHECK:;;; %main called 1 times.
12 ; CHECK:;;;
13 define i32 @main() nounwind readnone {
14 entry:
15 ; CHECK:entry:
16 ; CHECK:        ;;; Basic block executed 1 times.
17   ret i32 undef
18 }