aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ir_fold.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ir_fold.c')
-rw-r--r--src/ir_fold.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ir_fold.c b/src/ir_fold.c
index 37edbbc..fcfe88b 100644
--- a/src/ir_fold.c
+++ b/src/ir_fold.c
@@ -67,7 +67,7 @@ foldint(enum op op, enum irclass k, Ref lr, Ref rr)
case Ougte: x = l.u >= r.u; break;
default: assert(0);
}
- if (cls2siz[k] < 8) x = (int)x;
+ if (!w) x = (int)x;
return mkintcon(k, x);
}