When SILoadStoreOptimizer merges instructions, if an instruction from a
different set of merge-able instructions is moved, this invalidates the yet to be
processed list. This change can detect this situation and forces a re-computation
of the yet to be processed instructions.
This is likely to be a relatively rare occurrence, so the extra overhead of the
computation is negligible.
Change-Id: Ie6d26596fea2af03b0dd5e029d74281079930ad2
clang-format: please reformat the code