]> git.eshelyaron.com Git - emacs.git/commit
Fix native compilation for circular immediates (bug#67883)
authorAndrea Corallo <acorallo@gnu.org>
Sun, 24 Mar 2024 10:29:37 +0000 (11:29 +0100)
committerEshel Yaron <me@eshelyaron.com>
Sun, 24 Mar 2024 14:22:47 +0000 (15:22 +0100)
commit2030e03bea0baac40a04f3bfddcb95d3f70ee033
tree5f60dcc24bc41056c06a48e659d6e6af052da9d1
parent45942872f463788f5ee143a9abbbcae4213f66ae
Fix native compilation for circular immediates (bug#67883)

* test/src/comp-resources/comp-test-funcs.el
(comp-test-67883-1-f): New function.

* lisp/emacs-lisp/comp.el (comp--collect-rhs)
(comp--ssa-rename-insn): Handle setimm aside to avoid unnecessary
immediate manipulation.
(comp--copy-insn-rec): Rename.
(comp--copy-insn): New function.
(comp--dead-assignments-func): Handle setimm aside to avoid
unnecessary.

(cherry picked from commit c5de73a95a6ecefe46fe1ac07da8e83032be7f5b)
lisp/emacs-lisp/comp.el
test/src/comp-resources/comp-test-funcs.el