]> git.proxmox.com Git - rustc.git/blame - src/binaryen/test/torture-s/pr63302.c.s
New upstream version 1.25.0+dfsg1
[rustc.git] / src / binaryen / test / torture-s / pr63302.c.s
CommitLineData
abe05a73
XL
1 .text
2 .file "pr63302.c"
3 .section .text.foo,"ax",@progbits
4 .hidden foo # -- Begin function foo
5 .globl foo
6 .type foo,@function
7foo: # @foo
8 .param i64, i64
9 .result i32
10# BB#0: # %entry
11 i64.const $push2=, -9223372036854773761
12 i64.and $push11=, $0, $pop2
13 tee_local $push10=, $0=, $pop11
14 i64.or $push7=, $pop10, $1
15 i64.eqz $push8=, $pop7
16 i64.const $push3=, -9223372036854775808
17 i64.xor $push4=, $0, $pop3
18 i64.const $push0=, -1
19 i64.xor $push1=, $1, $pop0
20 i64.or $push5=, $pop4, $pop1
21 i64.eqz $push6=, $pop5
22 i32.or $push9=, $pop8, $pop6
23 # fallthrough-return: $pop9
24 .endfunc
25.Lfunc_end0:
26 .size foo, .Lfunc_end0-foo
27 # -- End function
28 .section .text.bar,"ax",@progbits
29 .hidden bar # -- Begin function bar
30 .globl bar
31 .type bar,@function
32bar: # @bar
33 .param i64
34 .result i32
35# BB#0: # %entry
36 i64.const $push0=, -2147481601
37 i64.and $push6=, $0, $pop0
38 tee_local $push5=, $0=, $pop6
39 i64.eqz $push3=, $pop5
40 i64.const $push1=, -2147483648
41 i64.eq $push2=, $0, $pop1
42 i32.or $push4=, $pop3, $pop2
43 # fallthrough-return: $pop4
44 .endfunc
45.Lfunc_end1:
46 .size bar, .Lfunc_end1-bar
47 # -- End function
48 .section .text.main,"ax",@progbits
49 .hidden main # -- Begin function main
50 .globl main
51 .type main,@function
52main: # @main
53 .result i32
54# BB#0: # %entry
55 block
56 i64.const $push52=, 0
57 i64.const $push51=, 0
58 i32.call $push0=, foo@FUNCTION, $pop52, $pop51
59 i32.const $push1=, 1
60 i32.ne $push2=, $pop0, $pop1
61 br_if 0, $pop2 # 0: down to label0
62# BB#1: # %lor.lhs.false
63 i64.const $push3=, 1
64 i64.const $push53=, 0
65 i32.call $push4=, foo@FUNCTION, $pop3, $pop53
66 br_if 0, $pop4 # 0: down to label0
67# BB#2: # %lor.lhs.false3
68 i64.const $push5=, 2048
69 i64.const $push54=, 0
70 i32.call $push6=, foo@FUNCTION, $pop5, $pop54
71 i32.const $push7=, 1
72 i32.ne $push8=, $pop6, $pop7
73 br_if 0, $pop8 # 0: down to label0
74# BB#3: # %lor.lhs.false6
75 i64.const $push9=, 2049
76 i64.const $push55=, 0
77 i32.call $push10=, foo@FUNCTION, $pop9, $pop55
78 br_if 0, $pop10 # 0: down to label0
79# BB#4: # %lor.lhs.false9
80 i64.const $push56=, -9223372036854775808
81 i64.const $push11=, 0
82 i32.call $push12=, foo@FUNCTION, $pop56, $pop11
83 br_if 0, $pop12 # 0: down to label0
84# BB#5: # %lor.lhs.false12
85 i64.const $push58=, -9223372036854775808
86 i64.const $push57=, -1
87 i32.call $push13=, foo@FUNCTION, $pop58, $pop57
88 i32.const $push14=, 1
89 i32.ne $push15=, $pop13, $pop14
90 br_if 0, $pop15 # 0: down to label0
91# BB#6: # %lor.lhs.false15
92 i64.const $push16=, -9223372036854775807
93 i64.const $push59=, -1
94 i32.call $push17=, foo@FUNCTION, $pop16, $pop59
95 br_if 0, $pop17 # 0: down to label0
96# BB#7: # %lor.lhs.false18
97 i64.const $push18=, -9223372036854773760
98 i64.const $push60=, -1
99 i32.call $push19=, foo@FUNCTION, $pop18, $pop60
100 i32.const $push20=, 1
101 i32.ne $push21=, $pop19, $pop20
102 br_if 0, $pop21 # 0: down to label0
103# BB#8: # %lor.lhs.false21
104 i64.const $push22=, -9223372036854773759
105 i64.const $push61=, -1
106 i32.call $push23=, foo@FUNCTION, $pop22, $pop61
107 br_if 0, $pop23 # 0: down to label0
108# BB#9: # %if.end
109 i64.const $push24=, 0
110 i32.call $push25=, bar@FUNCTION, $pop24
111 i32.const $push26=, 1
112 i32.ne $push27=, $pop25, $pop26
113 br_if 0, $pop27 # 0: down to label0
114# BB#10: # %lor.lhs.false26
115 i64.const $push28=, 1
116 i32.call $push29=, bar@FUNCTION, $pop28
117 br_if 0, $pop29 # 0: down to label0
118# BB#11: # %lor.lhs.false29
119 i64.const $push30=, 2048
120 i32.call $push31=, bar@FUNCTION, $pop30
121 i32.const $push32=, 1
122 i32.ne $push33=, $pop31, $pop32
123 br_if 0, $pop33 # 0: down to label0
124# BB#12: # %lor.lhs.false32
125 i64.const $push34=, 2049
126 i32.call $push35=, bar@FUNCTION, $pop34
127 br_if 0, $pop35 # 0: down to label0
128# BB#13: # %lor.lhs.false35
129 i64.const $push36=, 2147483648
130 i32.call $push37=, bar@FUNCTION, $pop36
131 br_if 0, $pop37 # 0: down to label0
132# BB#14: # %lor.lhs.false38
133 i64.const $push38=, -2147483648
134 i32.call $push39=, bar@FUNCTION, $pop38
135 i32.const $push40=, 1
136 i32.ne $push41=, $pop39, $pop40
137 br_if 0, $pop41 # 0: down to label0
138# BB#15: # %lor.lhs.false41
139 i64.const $push42=, -2147483647
140 i32.call $push43=, bar@FUNCTION, $pop42
141 br_if 0, $pop43 # 0: down to label0
142# BB#16: # %lor.lhs.false44
143 i64.const $push44=, -2147481600
144 i32.call $push45=, bar@FUNCTION, $pop44
145 i32.const $push46=, 1
146 i32.ne $push47=, $pop45, $pop46
147 br_if 0, $pop47 # 0: down to label0
148# BB#17: # %lor.lhs.false47
149 i64.const $push48=, -2147481599
150 i32.call $push49=, bar@FUNCTION, $pop48
151 br_if 0, $pop49 # 0: down to label0
152# BB#18: # %if.end51
153 i32.const $push50=, 0
154 return $pop50
155.LBB2_19: # %if.then
156 end_block # label0:
157 call abort@FUNCTION
158 unreachable
159 .endfunc
160.Lfunc_end2:
161 .size main, .Lfunc_end2-main
162 # -- End function
163
164 .ident "clang version 6.0.0 (https://llvm.googlesource.com/clang.git a1774cccdccfa673c057f93ccf23bc2d8cb04932) (https://llvm.googlesource.com/llvm.git fc50e1c6121255333bc42d6faf2b524c074eae25)"
165 .functype abort, void