mirror of
git://c9x.me/qbe.git
synced 2026-04-05 09:59:47 +00:00
The recent changes in arm and riscv typclass() set ngp to 1 when a struct is returned via a caller-provided buffer. This interacts bogusly with selret() that ends up declaring a gp register live when none is set in the returning sequence. The fix is simply to set cty to zero (all registers dead) in case a caller- provided buffer is used. |
||
|---|---|---|
| .. | ||
| abi.c | ||
| all.h | ||
| emit.c | ||
| isel.c | ||
| targ.c | ||