diff options
| author | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2018-03-27 01:25:24 +0200 |
|---|---|---|
| committer | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2018-06-30 20:36:37 +0200 |
| commit | 7bba241ec6218e6f72094b7b081cd21443151184 (patch) | |
| tree | 8d8d457e5dfa0b7bbe2ff87ce5d0aad987e8f0da /validation/optim | |
| parent | 0170c91f27ead43ed2805c988bdd0ce465560322 (diff) | |
| download | sparse-dev-7bba241ec6218e6f72094b7b081cd21443151184.tar.gz | |
fix: remove dead OP_{SETVAL,SETFVAL,SLICE}
At linearization (and maybe in some other situations), dead
intructions are created. Currently, it's the simplification
phase's job to detect and remove these dead instructions
(cfr. dead_insn()).
However, several intructions, not otherwise concerned by
simplification are never so detected and thus never removed.
Add those instructions to simplify_instruction() and call
dead_insn() on them to remove them if dead.
Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Diffstat (limited to 'validation/optim')
0 files changed, 0 insertions, 0 deletions
