[LV] Add tests for non-constant stride pointer inductions
authorPhilip Reames <preames@rivosinc.com>
Fri, 31 Mar 2023 15:49:44 +0000 (08:49 -0700)
committerPhilip Reames <listmail@philipreames.com>
Fri, 31 Mar 2023 16:10:59 +0000 (09:10 -0700)
commita512ce5e1291b8ef5ee7a6f0808ba922eba67514
tree48bba3ec507416c3de4892eef1a5abf03ab0ee9b
parenta084854266ca60748982228a4c98d036bca5f762
[LV] Add tests for non-constant stride pointer inductions

Reduced from the case which triggered the revert of 498aa534f472, and then generalized to cover both expansion paths.
llvm/test/Transforms/LoopVectorize/pointer-induction-unroll.ll [new file with mode: 0644]
llvm/test/Transforms/LoopVectorize/pointer-induction.ll