[all-commits] [llvm/llvm-project] 586fd8: [LoopVectorizer] Fix inloop reductions mask placement
David Green via All-commits
all-commits at lists.llvm.org
Thu Jan 5 03:37:51 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 586fd86b0a91ef3beb9da664c0ffe5ffb9f19357
https://github.com/llvm/llvm-project/commit/586fd86b0a91ef3beb9da664c0ffe5ffb9f19357
Author: David Green <david.green at arm.com>
Date: 2023-01-05 (Thu, 05 Jan 2023)
Changed paths:
M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
M llvm/test/Transforms/LoopVectorize/reduction-inloop.ll
Log Message:
-----------
[LoopVectorizer] Fix inloop reductions mask placement
The validation of vplans could fail if an inloop reduction was created
with a block-in mask that did not dominate the reduction. This makes
sure that the insert point is set when creating the mask, to ensure it
dominates the reduction.
Differential Revision: https://reviews.llvm.org/D141003
More information about the All-commits
mailing list