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

« back to all changes in this revision

Viewing changes to tests/cases/breakinthemiddle2.ll

  • Committer: Package Import Robot
  • Author(s): Sylvestre Ledru
  • Date: 2014-01-19 14:12:40 UTC
  • mfrom: (4.1.2 sid)
  • Revision ID: package-import@ubuntu.com-20140119141240-nfiw0p8033oitpfz
Tags: 1.9.0~20140119~7dc8c2f-1
* New snapshot release (Closes: #733714)
* Provide sources for javascript and flash. Done in orig-tar.sh
  Available in third_party/websockify/include/web-socket-js/src/
  (Closes: #735903)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
target datalayout = "e-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-p:32:32:32-v128:32:32"
 
2
target triple = "le32-unknown-nacl"
 
3
 
1
4
@.str = private constant [15 x i8] c"hello, world!\0A\00", align 1 ; [#uses=1]
2
5
 
3
6
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
  %a333 = call i32 @printf(i8* getelementptr inbounds ([15 x i8]* @.str, i32 0, i32 0)) ; [#uses=0]
 
8
  %b199 = trunc i8 1 to i1                        ; [#uses=1]
 
9
  br i1 %b199, label %label555, label %label569
7
10
 
8
11
label555:                                     ; preds = %0
9
12
  br label %label569 ; branch should ignore all code after it in the block
10
13
                                              ; 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
14
  br label %label569
16
15
 
17
16
label569:                                     ; preds = %0
18
 
  br i1 %199, label %label990, label %label999
 
17
  br i1 %b199, label %label990, label %label999
19
18
 
20
19
label990:
21
20
  ret i32 0 ; ret should ignore all code after it in the block
22
21
                                              ; 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
22
  br label %label569
28
23
 
29
24
label999:                                     ; preds = %555