aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--ir/optmem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ir/optmem.c b/ir/optmem.c
index a9c8dc4..e7ad0f5 100644
--- a/ir/optmem.c
+++ b/ir/optmem.c
@@ -76,8 +76,8 @@ Redo:
union ref it = mkref(RTMP, use->u);
union ref vphi2 = deltrivialphis(sb, use->blk, it);
if (vphi2.bits != it.bits) {
+ same = vphi2;
/* deletion happened so phiref use may have changed */
- if (same.bits == it.bits) same.bits = vphi2.bits;
goto Redo;
}
}