[LV] Make test more robust by adding users of inductions.
authorFlorian Hahn <flo@fhahn.com>
Sat, 15 Jan 2022 15:57:35 +0000 (15:57 +0000)
committerFlorian Hahn <flo@fhahn.com>
Mon, 17 Jan 2022 13:28:59 +0000 (13:28 +0000)
commit4a6f47544610c26484ece3cf74fbbc80355e93a1
tree8eae1f0abf4e599b7cda986579196107e63c6990
parent500fe6095702459c7b000a344b5717c9700fda4a
[LV] Make test more robust by adding users of inductions.

The modified tests didn't have actual users of all inductions, making it
trivial to eliminate them. Add users to make sure the inductions are
actually used in the vectorized version.
llvm/test/Transforms/LoopVectorize/X86/pr36524.ll
llvm/test/Transforms/LoopVectorize/pr35773.ll