qbe

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

commit 9bb69bf4c7dae1e15fb505e0a54d950f9621df84
parent ece185f06705864ae55cbe15fea88c6bc4315f62
Author: Quentin Carbonneaux <quentin.carbonneaux@yale.edu>
Date:   Fri, 11 Sep 2015 14:27:46 -0400

diagnose float structs

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

diff --git a/lisc/isel.c b/lisc/isel.c @@ -514,6 +514,8 @@ selcall(Fn *fn, Ins *i0, Ins *i1) if (a->inmem) continue; if (i->op == OArgc) { + if (a->rty[0] == RSse || a->rty[1] == RSse) + diag("isel: unsupported float struct"); if (a->size > 8) { r = TMP(ireg[ni+1]); r1 = newtmp(fn);