mirror of
git://c9x.me/qbe.git
synced 2026-04-05 18:09:47 +00:00
Otherwise, we may end up using an integer and floating class for the
same register, triggering an assertion failure:
qbe: rega.c:215: pmrec: Assertion `KBASE(pm[i].cls) == KBASE(*k)' failed.
Test case:
type :T = { s }
export
function $d(:T %.1, s %.2) {
@start
call $c(s %.2)
ret
}
|
||
|---|---|---|
| .. | ||
| all.h | ||
| emit.c | ||
| isel.c | ||
| sysv.c | ||
| targ.c | ||