aboutsummaryrefslogtreecommitdiff
path: root/test/bitfield-assignment-sign-extend.qbe
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2021-07-01 13:25:30 -0700
committerMichael Forney <mforney@mforney.org>2021-07-01 13:30:16 -0700
commit1647af781a279c070a1cd99fc8aeae1be9795084 (patch)
treefc55f3d89b065347e28117035629df4116aa4327 /test/bitfield-assignment-sign-extend.qbe
parentb4f89ba90b6ca3233cc80aef9d42055266fac8df (diff)
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.
Diffstat (limited to 'test/bitfield-assignment-sign-extend.qbe')
-rw-r--r--test/bitfield-assignment-sign-extend.qbe2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/bitfield-assignment-sign-extend.qbe b/test/bitfield-assignment-sign-extend.qbe
index 05ffbf9..c2af6b8 100644
--- a/test/bitfield-assignment-sign-extend.qbe
+++ b/test/bitfield-assignment-sign-extend.qbe
@@ -10,7 +10,7 @@ function w $main() {
%.6 =w shl %.5, 28
%.7 =w sar %.6, 28
%.8 =w and %.5, 15
- %.9 =w loaduw %.4
+ %.9 =w loadw %.4
%.10 =w and %.9, 18446744073709551600
%.11 =w or %.8, %.10
storew %.11, %.4