[all-commits] [llvm/llvm-project] cf06c8: [LoopVectorize][SVE] Remove assert for scalable ve...
CarolineConcatto via All-commits
all-commits at lists.llvm.org
Fri May 7 01:39:31 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: cf06c8eee3a5ac6172e77abe5d7547554e6a6620
https://github.com/llvm/llvm-project/commit/cf06c8eee3a5ac6172e77abe5d7547554e6a6620
Author: Caroline Concatto <caroline.concatto at arm.com>
Date: 2021-05-07 (Fri, 07 May 2021)
Changed paths:
M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
A llvm/test/Transforms/LoopVectorize/scalable-reduction-inloop.ll
Log Message:
-----------
[LoopVectorize][SVE] Remove assert for scalable vector in InnerLoopVectorizer::fixReduction
The function fixReduction used to assert/crash for scalable vector when
a vector reduce could be done with a smaller vector.
This patch removes this assertion as it is safe to use scalable vector for
vector reduce and truncate.
Differential Revision: https://reviews.llvm.org/D101260
More information about the All-commits
mailing list