Dead stores are removed after initial memory-to-pseudo promotion but it should also be done again later after more complex promotion are done. Also the recursion in kill_dead_stores() has a bug. The goal of this series is to fix these two issues. Luc Van Oostenryck (7): kds: add testcases for kill_dead_stores() kds: add explanation to kill_dead_stores() kds: rename kill_dead_stores() to kill_dead_stores_bb() kds: add interface for kill_dead_stores() kds: kill dead stores after memops simplification kds: shortcut for kill_dead_stores() kds: fix recursion in kill_dead_stores_bb() flow.c | 67 ++++++++++++++++++++++++++++++++++++----- flow.h | 1 + memops.c | 12 ++++++++ validation/optim/kill-stores0.c | 34 +++++++++++++++++++++ validation/optim/kill-stores1.c | 48 +++++++++++++++++++++++++++++ validation/optim/kill-stores2.c | 17 +++++++++++ validation/optim/live-stores0.c | 29 ++++++++++++++++++ 7 files changed, 200 insertions(+), 8 deletions(-) create mode 100644 validation/optim/kill-stores0.c create mode 100644 validation/optim/kill-stores1.c create mode 100644 validation/optim/kill-stores2.c create mode 100644 validation/optim/live-stores0.c -- 2.16.2 -- To unsubscribe from this list: send the line "unsubscribe linux-sparse" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html