summaryrefslogtreecommitdiff
path: root/test/llvm_autogenerated/offset-folding.s
blob: 897b0d45afcd74d425d25feefd8c786a6bea4e7e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
	.text
	.file	"/s/llvm/llvm/test/CodeGen/WebAssembly/offset-folding.ll"
	.globl	test0
	.type	test0,@function
test0:
	.result 	i32
	i32.const	$push0=, x+188
	return  	$pop0
.Lfunc_end0:
	.size	test0, .Lfunc_end0-test0

	.globl	test1
	.type	test1,@function
test1:
	.result 	i32
	i32.const	$push0=, y+188
	return  	$pop0
.Lfunc_end1:
	.size	test1, .Lfunc_end1-test1

	.globl	test2
	.type	test2,@function
test2:
	.result 	i32
	i32.const	$push0=, x
	return  	$pop0
.Lfunc_end2:
	.size	test2, .Lfunc_end2-test2

	.globl	test3
	.type	test3,@function
test3:
	.result 	i32
	i32.const	$push0=, y
	return  	$pop0
.Lfunc_end3:
	.size	test3, .Lfunc_end3-test3

	.type	x,@object
	.bss
	.globl	x
	.align	2
x:
	.size	x, 0

	.type	y,@object
	.globl	y
	.align	4
y:
	.skip	200
	.size	y, 200


	.section	".note.GNU-stack","",@progbits