aboutsummaryrefslogtreecommitdiff
path: root/test/struct-copy.qbe
blob: eb2c9559e3a9476e1fdb218b658c65883b71f95e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
export
function $f() {
@start.1
	%.1 =l alloc4 12
@body.2
	%.2 =l loaduw $x
	storew %.2, %.1
	%.3 =l add $x, 4
	%.4 =l add %.1, 4
	%.5 =l loaduw %.3
	storew %.5, %.4
	%.6 =l add %.3, 4
	%.7 =l add %.4, 4
	%.8 =l loaduw %.6
	storew %.8, %.7
	%.9 =l add %.6, 4
	%.10 =l add %.7, 4
	ret
}
export data $x = align 4 { z 12 }