[RISCV][NFC] Make interleaved access test more vectorizable
authorLuke Lau <luke@igalia.com>
Mon, 20 Mar 2023 17:31:40 +0000 (17:31 +0000)
committerLuke Lau <luke@igalia.com>
Wed, 22 Mar 2023 16:02:44 +0000 (16:02 +0000)
commit06f16232b1b0028ac87d584883bc32220882c73a
treef035e4b682c7791b152694152525b9d485f94cbb
parent71dc3de533b9247223c083a3b058859c9759099c
[RISCV][NFC] Make interleaved access test more vectorizable

The previous test case stored the result of a deinterleaved load and add
into the same source address, which resulted in some scatters which we
weren't testing for and made the tests harder to understand.
Store it at a separate address, which will make the tests easier to read
when the cost model is changed after D145085 is landed

Reviewed By: reames

Differential Revision: https://reviews.llvm.org/D146442
llvm/test/Transforms/LoopVectorize/RISCV/interleaved-accesses.ll