~ubuntu-branches/ubuntu/vivid/emscripten/vivid

« back to all changes in this revision

Viewing changes to tests/cases/breakinthemiddle2.ll

  • Committer: Package Import Robot
  • Author(s): Sylvestre Ledru
  • Date: 2013-05-02 13:11:51 UTC
  • Revision ID: package-import@ubuntu.com-20130502131151-q8dvteqr1ef2x7xz
Tags: upstream-1.4.1~20130504~adb56cb
ImportĀ upstreamĀ versionĀ 1.4.1~20130504~adb56cb

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
@.str = private constant [15 x i8] c"hello, world!\0A\00", align 1 ; [#uses=1]
 
2
 
 
3
define linkonce_odr i32 @main() align 2 {
 
4
  %333 = call i32 @printf(i8* getelementptr inbounds ([15 x i8]* @.str, i32 0, i32 0)) ; [#uses=0]
 
5
  %199 = trunc i8 1 to i1                        ; [#uses=1]
 
6
  br i1 %199, label %label555, label %label569
 
7
 
 
8
label555:                                     ; preds = %0
 
9
  br label %label569 ; branch should ignore all code after it in the block
 
10
                                              ; No predecessors!
 
11
  %a472 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)
 
12
          cleanup
 
13
  %a473 = extractvalue { i8*, i32 } %a472, 0
 
14
  %a474 = extractvalue { i8*, i32 } %a472, 1
 
15
  br label %label569
 
16
 
 
17
label569:                                     ; preds = %0
 
18
  br i1 %199, label %label990, label %label999
 
19
 
 
20
label990:
 
21
  ret i32 0 ; ret should ignore all code after it in the block
 
22
                                              ; No predecessors!
 
23
  %a472 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)
 
24
          cleanup
 
25
  %a473 = extractvalue { i8*, i32 } %a472, 0
 
26
  %a474 = extractvalue { i8*, i32 } %a472, 1
 
27
  br label %label569
 
28
 
 
29
label999:                                     ; preds = %555
 
30
  ret i32 0
 
31
}
 
32
 
 
33
declare i32 @printf(i8*)
 
34
declare i32 @__gxx_personality_v0(...)
 
35