aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation/optim/load-dead.c
AgeCommit message (Collapse)AuthorFilesLines
2018-02-14kill dead loadsLuc Van Oostenryck1-0/+11
Like others instructions producing a value, OP_LOADs can be dead. But currently, dead OP_LOAD are not removed as dead_insn() do for others instructions. Fix this by checking at simplification time if OP_LOADs are dead and call kill_instruction() if it is the case. Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>