[all-commits] [llvm/llvm-project] c90235: [LV] Drop wrap flags for reductions using VP def-u...
Florian Hahn via All-commits
all-commits at lists.llvm.org
Thu May 19 12:37:15 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c90235f0ef0bcdfab5087da496ea44de652a7363
https://github.com/llvm/llvm-project/commit/c90235f0ef0bcdfab5087da496ea44de652a7363
Author: Florian Hahn <flo at fhahn.com>
Date: 2022-05-19 (Thu, 19 May 2022)
Changed paths:
M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
M llvm/test/Transforms/LoopVectorize/reduction-with-invariant-store.ll
Log Message:
-----------
[LV] Drop wrap flags for reductions using VP def-use chain.
Update clearReductionWrapFlags to use the VPlan def-use chain from the
reduction phi recipe to drop reduction wrap flags.
This addresses an existing FIXME and fixes a crash when instructions in
the reduction chain are not used and have been removed before VPlan
codegeneration.
Fixes #55540.
More information about the All-commits
mailing list