diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2023-04-10 00:49:55 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2023-04-10 00:49:55 -0700 |
commit | a6e3a7aabd3563120afdac87d1788e891a359ced (patch) | |
tree | 03294b67db00c3c8f178ba304f7bc87259c36495 /stdlib/txr-case.txr | |
parent | 80de7a55930bb213b7901148e1e3f9624d1adef5 (diff) | |
download | txr-a6e3a7aabd3563120afdac87d1788e891a359ced.tar.gz txr-a6e3a7aabd3563120afdac87d1788e891a359ced.tar.bz2 txr-a6e3a7aabd3563120afdac87d1788e891a359ced.zip |
compiler: buggy t-reg move peephole case.
* stdlib/optimize.tl (basic-blocks do-peephole-block): In the
unnecessary copying t-reg case, let's just stay away from
doing it if the source operand is a v-reg. It breaks under the
recent "eval order of variables" commit, indicating that the
conditions that it uses for replacing a v-reg with the t-reg
are not correct. The most likely reason is that the v-reg
can be assigned, but this doesn't show up in the liveness
info which tracks only t-regs.
Diffstat (limited to 'stdlib/txr-case.txr')
0 files changed, 0 insertions, 0 deletions