aboutsummaryrefslogtreecommitdiff
path: root/test/struct-flexible-array.qbe
diff options
context:
space:
mode:
Diffstat (limited to 'test/struct-flexible-array.qbe')
-rw-r--r--test/struct-flexible-array.qbe18
1 files changed, 8 insertions, 10 deletions
diff --git a/test/struct-flexible-array.qbe b/test/struct-flexible-array.qbe
index 535c5d2..464bfa4 100644
--- a/test/struct-flexible-array.qbe
+++ b/test/struct-flexible-array.qbe
@@ -6,14 +6,12 @@ function w $f(l %.1) {
storel %.1, %.2
@body.2
%.3 =l loadl %.2
- %.4 =l copy %.3
- %.5 =l mul 4, 1
- %.6 =l add %.4, %.5
- %.7 =l copy %.6
- %.8 =l extsw 2
- %.9 =l mul %.8, 2
- %.10 =l add %.7, %.9
- %.11 =w loadsh %.10
- %.12 =w extsh %.11
- ret %.12
+ %.4 =l mul 4, 1
+ %.5 =l add %.3, %.4
+ %.6 =l extsw 2
+ %.7 =l mul %.6, 2
+ %.8 =l add %.5, %.7
+ %.9 =w loadsh %.8
+ %.10 =w extsh %.9
+ ret %.10
}