[LV] Add tests for select-cmp reduction pattern. (NFC)
authorMel Chen <mel.chen@sifive.com>
Tue, 27 Jun 2023 09:06:00 +0000 (02:06 -0700)
committerMel Chen <mel.chen@sifive.com>
Thu, 20 Jul 2023 03:17:36 +0000 (20:17 -0700)
commit4ddc1745a84d0f83373a7d2e924462f7d999e1fc
tree0727c74c74ef36ea95f8aeb407e8dd5d88a32171
parente88fee1fec6e69b7a1d55242146e9e311eebaba0
[LV] Add tests for select-cmp reduction pattern. (NFC)

The test cases for selecting increasing integer induction variable.

Reviewed By: fhahn, shiva0217

Differential Revision: https://reviews.llvm.org/D153936
llvm/test/Transforms/LoopVectorize/iv-select-cmp-no-wrap.ll [new file with mode: 0644]
llvm/test/Transforms/LoopVectorize/iv-select-cmp.ll [new file with mode: 0644]