A better fix for deleting unused casts.
commiteefd7e616e53f76747efb06ae899bb214513f5f7
authorStas Boukarev <stassats@gmail.com>
Mon, 4 Dec 2017 20:16:19 +0000 (4 23:16 +0300)
committerStas Boukarev <stassats@gmail.com>
Mon, 4 Dec 2017 20:19:32 +0000 (4 23:19 +0300)
tree19ffa229e5da5ebf958242a05bd1e5097e1e73f8
parente7333c4c48dc5dfb992a04a3fa9b93a85539608d
A better fix for deleting unused casts.

DO-NODES-BACKWARDS doesn't like when the IR is modified too much,
instead of deleting casts right there, mark the block for
reoptimization and it'll be deleted on the next pass of ir1-phases.

Fixes lp#1736218
src/compiler/ir1util.lisp
tests/compiler-2.pure.lisp