~ubuntu-branches/ubuntu/saucy/clamav/saucy

« back to all changes in this revision

Viewing changes to libclamav/c++/llvm/test/Analysis/Dominators/2006-10-02-BreakCritEdges.ll

  • Committer: Bazaar Package Importer
  • Author(s): Scott Kitterman
  • Date: 2010-04-11 19:58:58 UTC
  • Revision ID: james.westby@ubuntu.com-20100411195858-exax6ky1jyzpa1h7
Tags: 0.96+dfsg-1ubuntu1
* Merge from Debian Unstable.  Remaining Ubuntu changes:
  - Drop initial signature definitions from clamav-base
  - Drop build-dep on electric-fence (in Universe)
  - Add apparmor profiles for clamd and freshclam along with maintainer
    script changes
* Adjust debconf processing for new option to the default priority procuces
  valid configuration files

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
; RUN: opt < %s -domtree -break-crit-edges -analyze \
2
 
; RUN:  -domtree | grep {3.*%brtrue }
3
 
; PR932
4
 
 
5
 
declare void @use1(i32)
6
 
 
7
 
define void @f(i32 %i, i1 %c) {
8
 
entry:
9
 
        %A = icmp eq i32 %i, 0          ; <i1> [#uses=1]
10
 
        br i1 %A, label %brtrue, label %brfalse
11
 
 
12
 
brtrue:         ; preds = %brtrue, %entry
13
 
        %B = phi i1 [ true, %brtrue ], [ false, %entry ]                ; <i1> [#uses=1]
14
 
        call void @use1( i32 %i )
15
 
        br i1 %B, label %brtrue, label %brfalse
16
 
 
17
 
brfalse:                ; preds = %brtrue, %entry
18
 
        call void @use1( i32 %i )
19
 
        ret void
20
 
}