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

« back to all changes in this revision

Viewing changes to tests/cases/entry3.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
1
; ModuleID = '/tmp/tmpKnA2D3/a.out.bc'
2
 
target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:32:32-n8:16:32-S128"
3
 
target triple = "i386-pc-linux-gnu"
 
2
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"
 
3
target triple = "le32-unknown-nacl"
4
4
 
5
5
@.str = private unnamed_addr constant [11 x i8] c"getgid=%d\0A\00", align 1
6
6
@.str1 = private unnamed_addr constant [6 x i8] c"f=%d\0A\00", align 1
7
7
 
8
8
define internal i32 @_Z1fii(i32, i32) noinline {
9
9
entry:
10
 
  %3 = tail call i32 @getgid()
11
 
  %4 = icmp eq i32 %3, 0
12
 
  br i1 %4, label %cond.b, label %cond.a
 
10
  %a3 = tail call i32 @getgid()
 
11
  %a4 = icmp eq i32 %a3, 0
 
12
  br i1 %a4, label %cond.b, label %cond.a
13
13
 
14
14
cond.a:
15
 
  %6 = tail call i32 @getgid()
 
15
  %a6 = tail call i32 @getgid()
16
16
  br label %cond.end
17
17
 
18
18
cond.b:
19
19
  br label %cond.end
20
20
 
21
21
cond.end:
22
 
  %.0 = phi i32 [ 0, %cond.b ], [ 1, %1 ]
 
22
  %.0 = phi i32 [ 0, %cond.b ], [ 1, %cond.a ]
23
23
  ret i32 %.0
24
24
}
25
25