qbe

Internal scc patchset buffer for QBE
Log | Files | Refs | README | LICENSE

commit 43d3f241ba45ca44195f544d660e3a88c82eff08
parent e10b91fcc96ef74410387c6ca8268fca5e12b68b
Author: Quentin Carbonneaux <quentin.carbonneaux@yale.edu>
Date:   Wed, 24 Feb 2016 10:56:36 -0500

oh oh, subs are not folded!

Diffstat:
Mlisc/test/dark.ssa | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisc/test/dark.ssa b/lisc/test/dark.ssa @@ -12,7 +12,7 @@ function $test(:magic %p) { %a1 =w add 1, %av storew %a1, $a # increment $a %r1 =l loadl $ret # fetch from $ret - %p1 =l sub %p, 8 + %p1 =l add %p, -8 %r2 =l loadl %p1 # get the return address storel %r2, $ret # store it in $ret %c =w ceql %r1, %r2