mirror of
git://c9x.me/qbe.git
synced 2026-04-07 02:49:47 +00:00
diagnose float structs
This commit is contained in:
parent
ece185f067
commit
9bb69bf4c7
@ -514,6 +514,8 @@ selcall(Fn *fn, Ins *i0, Ins *i1)
|
|||||||
if (a->inmem)
|
if (a->inmem)
|
||||||
continue;
|
continue;
|
||||||
if (i->op == OArgc) {
|
if (i->op == OArgc) {
|
||||||
|
if (a->rty[0] == RSse || a->rty[1] == RSse)
|
||||||
|
diag("isel: unsupported float struct");
|
||||||
if (a->size > 8) {
|
if (a->size > 8) {
|
||||||
r = TMP(ireg[ni+1]);
|
r = TMP(ireg[ni+1]);
|
||||||
r1 = newtmp(fn);
|
r1 = newtmp(fn);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user