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

« back to all changes in this revision

Viewing changes to tests/cases/breakinthemiddle3.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
  switch i32 %333, label %label999 [
 
7
    i32 1000, label %label995
 
8
  ] ; switch should ignore all code after it in the block
 
9
                                              ; No predecessors!
 
10
  %a472 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)
 
11
          cleanup
 
12
  %a473 = extractvalue { i8*, i32 } %a472, 0
 
13
  %a474 = extractvalue { i8*, i32 } %a472, 1
 
14
  br label %label999
 
15
 
 
16
label995:
 
17
  %333b = call i32 @printf(i8* getelementptr inbounds ([15 x i8]* @.str, i32 0, i32 0)) ; [#uses=0]
 
18
  br label %label999
 
19
 
 
20
label999:                                     ; preds = %555
 
21
  ret i32 0
 
22
}
 
23
 
 
24
declare i32 @printf(i8*)
 
25
declare i32 @__gxx_personality_v0(...)
 
26