aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/external/lua-5.4.0/src/lobject.c
diff options
context:
space:
mode:
author lemon<lsof@mailbox.org>2025-12-10 11:43:31 +0100
committer lemon<lsof@mailbox.org>2025-12-10 11:48:00 +0100
commitde8f28eb07915fe19902cd93d01229faa7599666 (patch)
tree41626b86e413fcefd4e50fbf2bfdf2ef8b51065a /test/external/lua-5.4.0/src/lobject.c
parent1ada32d3a8bee5533cab63f17c4402a20b1b8e23 (diff)
regalloc: optimize a little edge case better
With two-address instructions one needs to make sure the dst doesn't get allocated to the same reg as the right-hand operand: %r = mul %x, %y ; %y cannot be %r Except, if the operands are the same %r = mul %x, %x ; if %x is dead after this instr, it's fine to allocate %r to the same reg
Diffstat (limited to 'test/external/lua-5.4.0/src/lobject.c')
0 files changed, 0 insertions, 0 deletions