qbe

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

commit 95bcc46e151b224f51c9fc37175baa1537fe63d0
parent e361a51248ca4cdea89395d53b24e98d9b1805a2
Author: Quentin Carbonneaux <quentin.carbonneaux@yale.edu>
Date:   Wed, 19 Aug 2015 10:58:04 -0400

OXTestw should not have 64bits arguments

Diffstat:
Mlisc/isel.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisc/isel.c b/lisc/isel.c @@ -175,7 +175,7 @@ sel(Ins i, Fn *fn) break; case OXTestw: case OXTestl: - n = 2; + n = i.op == OXTestl ? 2 : 0; goto Emit; case OSext: case OZext: