~pali/+junk/llvm-toolchain-3.7

« back to all changes in this revision

Viewing changes to test/Transforms/LoopUnswitch/2007-07-13-DomInfo.ll

  • Committer: Package Import Robot
  • Author(s): Sylvestre Ledru
  • Date: 2015-07-15 17:51:08 UTC
  • Revision ID: package-import@ubuntu.com-20150715175108-l8mynwovkx4zx697
Tags: upstream-3.7~+rc2
ImportĀ upstreamĀ versionĀ 3.7~+rc2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
; RUN: opt < %s -loop-unswitch -disable-output
 
2
 
 
3
define i32 @main(i32 %argc, i8** %argv) {
 
4
entry:
 
5
        %tmp1785365 = icmp ult i32 0, 100               ; <i1> [#uses=1]
 
6
        br label %bb
 
7
 
 
8
bb:             ; preds = %cond_true, %entry
 
9
        br i1 false, label %cond_true, label %cond_next
 
10
 
 
11
cond_true:              ; preds = %bb
 
12
        br i1 %tmp1785365, label %bb, label %bb1788
 
13
 
 
14
cond_next:              ; preds = %bb
 
15
        %iftmp.1.0 = select i1 false, i32 0, i32 0              ; <i32> [#uses=1]
 
16
        br i1 false, label %cond_true47, label %cond_next74
 
17
 
 
18
cond_true47:            ; preds = %cond_next
 
19
        %tmp53 = urem i32 %iftmp.1.0, 0         ; <i32> [#uses=0]
 
20
        ret i32 0
 
21
 
 
22
cond_next74:            ; preds = %cond_next
 
23
        ret i32 0
 
24
 
 
25
bb1788:         ; preds = %cond_true
 
26
        ret i32 0
 
27
}