From 1647af781a279c070a1cd99fc8aeae1be9795084 Mon Sep 17 00:00:00 2001 From: Michael Forney Date: Thu, 1 Jul 2021 13:25:30 -0700 Subject: qbe: Remove unnecessary distinction between loaduw and loadsw We always store the result to a w temporary, so there is no difference. In fact, QBE provides loadw as an alias for loadsw precisely for this reason. --- test/struct-return-2.qbe | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/struct-return-2.qbe') diff --git a/test/struct-return-2.qbe b/test/struct-return-2.qbe index 3e5a544..1e8ad27 100644 --- a/test/struct-return-2.qbe +++ b/test/struct-return-2.qbe @@ -8,6 +8,6 @@ function w $f() { %.3 =l mul 4, 1 %.4 =l add %.2, %.3 %.5 =l copy %.4 - %.6 =w loadsw %.5 + %.6 =w loadw %.5 ret %.6 } -- cgit v1.2.3