]> git.proxmox.com Git - rustc.git/blame - src/binaryen/test/torture-s/20020510-1.c.s
New upstream version 1.25.0+dfsg1
[rustc.git] / src / binaryen / test / torture-s / 20020510-1.c.s
CommitLineData
abe05a73
XL
1 .text
2 .file "20020510-1.c"
3 .section .text.testc,"ax",@progbits
4 .hidden testc # -- Begin function testc
5 .globl testc
6 .type testc,@function
7testc: # @testc
8 .param i32, i32
9# BB#0: # %entry
10 block
11 block
12 block
13 i32.const $push0=, 24
14 i32.shl $push1=, $0, $pop0
15 i32.const $push5=, 24
16 i32.shr_s $push2=, $pop1, $pop5
17 i32.const $push3=, 1
18 i32.lt_s $push4=, $pop2, $pop3
19 br_if 0, $pop4 # 0: down to label2
20# BB#1: # %if.then
21 i32.eqz $push6=, $1
22 br_if 1, $pop6 # 1: down to label1
23 br 2 # 2: down to label0
24.LBB0_2: # %if.else
25 end_block # label2:
26 i32.eqz $push7=, $1
27 br_if 1, $pop7 # 1: down to label0
28.LBB0_3: # %if.then5
29 end_block # label1:
30 call abort@FUNCTION
31 unreachable
32.LBB0_4: # %if.end9
33 end_block # label0:
34 # fallthrough-return
35 .endfunc
36.Lfunc_end0:
37 .size testc, .Lfunc_end0-testc
38 # -- End function
39 .section .text.tests,"ax",@progbits
40 .hidden tests # -- Begin function tests
41 .globl tests
42 .type tests,@function
43tests: # @tests
44 .param i32, i32
45# BB#0: # %entry
46 block
47 block
48 block
49 i32.const $push0=, 16
50 i32.shl $push1=, $0, $pop0
51 i32.const $push5=, 16
52 i32.shr_s $push2=, $pop1, $pop5
53 i32.const $push3=, 1
54 i32.lt_s $push4=, $pop2, $pop3
55 br_if 0, $pop4 # 0: down to label5
56# BB#1: # %if.then
57 i32.eqz $push6=, $1
58 br_if 1, $pop6 # 1: down to label4
59 br 2 # 2: down to label3
60.LBB1_2: # %if.else
61 end_block # label5:
62 i32.eqz $push7=, $1
63 br_if 1, $pop7 # 1: down to label3
64.LBB1_3: # %if.then5
65 end_block # label4:
66 call abort@FUNCTION
67 unreachable
68.LBB1_4: # %if.end9
69 end_block # label3:
70 # fallthrough-return
71 .endfunc
72.Lfunc_end1:
73 .size tests, .Lfunc_end1-tests
74 # -- End function
75 .section .text.testi,"ax",@progbits
76 .hidden testi # -- Begin function testi
77 .globl testi
78 .type testi,@function
79testi: # @testi
80 .param i32, i32
81# BB#0: # %entry
82 block
83 block
84 block
85 i32.const $push0=, 1
86 i32.lt_s $push1=, $0, $pop0
87 br_if 0, $pop1 # 0: down to label8
88# BB#1: # %if.then
89 i32.eqz $push2=, $1
90 br_if 1, $pop2 # 1: down to label7
91 br 2 # 2: down to label6
92.LBB2_2: # %if.else
93 end_block # label8:
94 i32.eqz $push3=, $1
95 br_if 1, $pop3 # 1: down to label6
96.LBB2_3: # %if.then2
97 end_block # label7:
98 call abort@FUNCTION
99 unreachable
100.LBB2_4: # %if.end6
101 end_block # label6:
102 # fallthrough-return
103 .endfunc
104.Lfunc_end2:
105 .size testi, .Lfunc_end2-testi
106 # -- End function
107 .section .text.testl,"ax",@progbits
108 .hidden testl # -- Begin function testl
109 .globl testl
110 .type testl,@function
111testl: # @testl
112 .param i32, i32
113# BB#0: # %entry
114 block
115 block
116 block
117 i32.const $push0=, 1
118 i32.lt_s $push1=, $0, $pop0
119 br_if 0, $pop1 # 0: down to label11
120# BB#1: # %if.then
121 i32.eqz $push2=, $1
122 br_if 1, $pop2 # 1: down to label10
123 br 2 # 2: down to label9
124.LBB3_2: # %if.else
125 end_block # label11:
126 i32.eqz $push3=, $1
127 br_if 1, $pop3 # 1: down to label9
128.LBB3_3: # %if.then2
129 end_block # label10:
130 call abort@FUNCTION
131 unreachable
132.LBB3_4: # %if.end6
133 end_block # label9:
134 # fallthrough-return
135 .endfunc
136.Lfunc_end3:
137 .size testl, .Lfunc_end3-testl
138 # -- End function
139 .section .text.main,"ax",@progbits
140 .hidden main # -- Begin function main
141 .globl main
142 .type main,@function
143main: # @main
144 .result i32
145# BB#0: # %entry
146 i32.const $push0=, 0
147 # fallthrough-return: $pop0
148 .endfunc
149.Lfunc_end4:
150 .size main, .Lfunc_end4-main
151 # -- End function
152
153 .ident "clang version 6.0.0 (https://llvm.googlesource.com/clang.git a1774cccdccfa673c057f93ccf23bc2d8cb04932) (https://llvm.googlesource.com/llvm.git fc50e1c6121255333bc42d6faf2b524c074eae25)"
154 .functype abort, void