diff options
| author | 2025-12-24 09:20:08 +0100 | |
|---|---|---|
| committer | 2025-12-24 09:20:08 +0100 | |
| commit | efb31c9f7d34f42c4b37e4a05510e244af727234 (patch) | |
| tree | 1de3254a0033ffe1d97dd9ab9aba028ba313b438 /x86_64 | |
| parent | 4e4c66ca458970daa32fae35f18720142b563115 (diff) | |
x86_64: fix isel for 7036e19
Diffstat (limited to 'x86_64')
| -rw-r--r-- | x86_64/isel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/x86_64/isel.c b/x86_64/isel.c index 2b83093..9c99608 100644 --- a/x86_64/isel.c +++ b/x86_64/isel.c @@ -414,7 +414,7 @@ sel(struct function *fn, struct instr *ins, struct block *blk, int *curi) ins->op = ((op - Olth) ^ 1) + Olth; rswap(ins->l, ins->r); } - if (ins->l.t != RTMP && ins->l.t != RREG) + if (ins->l.t != RTMP && ins->l.t != RREG && ins->l.t != RSTACK) ins->l = insertinstr(blk, (*curi)++, mkinstr(Ocopy, insrescls(*ins), ins->l)); else fixarg(&ins->l, ins, blk, curi); |