[all-commits] [llvm/llvm-project] 00e65f: [LoopVectorize][SVE] Fix crash when vectorising FP...
david-arm via All-commits
all-commits at lists.llvm.org
Wed Apr 28 07:22:57 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 00e65f3345460f25fa1ba87eee5b62877b919a50
https://github.com/llvm/llvm-project/commit/00e65f3345460f25fa1ba87eee5b62877b919a50
Author: David Sherwood <david.sherwood at arm.com>
Date: 2021-04-28 (Wed, 28 Apr 2021)
Changed paths:
M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
M llvm/test/Transforms/LoopVectorize/AArch64/sve-basic-vec.ll
Log Message:
-----------
[LoopVectorize][SVE] Fix crash when vectorising FP negation
This patch fixes a crash encountered when vectorising the following loop:
void foo(float *dst, float *src, long long n) {
for (long long i = 0; i < n; i++)
dst[i] = -src[i];
}
using scalable vectors. I've added a test to
Transforms/LoopVectorize/AArch64/sve-basic-vec.ll
as well as cleaned up the other tests in the same file.
Differential Revision: https://reviews.llvm.org/D98054
More information about the All-commits
mailing list