From 740ebf164de3cda6e729bb14969366bef0492f02 Mon Sep 17 00:00:00 2001
From: Quentin Carbonneaux <quentin.carbonneaux@yale.edu>
Date: Mon, 15 Feb 2016 15:15:40 -0500
Subject: [PATCH] partial fix argcls() in isel

---
 lisc/isel.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lisc/isel.c b/lisc/isel.c
index d5ccdd7..6937aaf 100644
--- 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;
 }