[all-commits] [llvm/llvm-project] e3a133: [NFC] Add tests for scalable vectorization of loop...
david-arm via All-commits
all-commits at lists.llvm.org
Thu Apr 1 02:26:47 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: e3a13304fc036f25eacee9c084294d3b80f7c5bb
https://github.com/llvm/llvm-project/commit/e3a13304fc036f25eacee9c084294d3b80f7c5bb
Author: David Sherwood <david.sherwood at arm.com>
Date: 2021-04-01 (Thu, 01 Apr 2021)
Changed paths:
A llvm/test/Transforms/LoopVectorize/AArch64/sve-large-strides.ll
Log Message:
-----------
[NFC] Add tests for scalable vectorization of loops with large stride acesses
This patch just adds tests that we can vectorize loop such as these:
for (i = 0; i < n; i++)
dst[i * 7] += 1;
and
for (i = 0; i < n; i++)
if (cond[i])
dst[i * 7] += 1;
using scalable vectors, where we expect to use gathers and scatters in the
vectorized loop. The vector of pointers used for the gather is identical
to those used for the scatter so there should be no memory dependences.
Tests are added here:
Transforms/LoopVectorize/AArch64/sve-large-strides.ll
Differential Revision: https://reviews.llvm.org/D99192
More information about the All-commits
mailing list