qbe

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

commit 740ebf164de3cda6e729bb14969366bef0492f02
parent 16e430935db1f928452767af23ea1a1c6d000299
Author: Quentin Carbonneaux <quentin.carbonneaux@yale.edu>
Date:   Mon, 15 Feb 2016 15:15:40 -0500

partial fix argcls() in isel

Diffstat:
Mlisc/isel.c | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/lisc/isel.c b/lisc/isel.c @@ -106,6 +106,8 @@ static int argcls(Ins *i) { /* fixme, not correct for some instructions (bcast) */ + if (OLoad <= i->op && i->op <= OLoad1) + return Kl; return i->cls; }