Loop vectorizer should not remove instructions that can throw

Instructions that are not used outside of the inner loop were
inadvertently being removed. Make sure this does not happen.

Original author: Georgia Kouveli <georgia.kouveli@linaro.org>
Committed by: David Horstmann <david.horstmann@linaro.org>

Test: 1961-checker-loop-vectorizer
Test: test-art-target

Change-Id: I3af9e861e75669457e5925dd1d655db784a55287
4 files changed