[all-commits] [llvm/llvm-project] 73f5d7: [VPlan] Handle equal address and store ops in only...
Florian Hahn via All-commits
all-commits at lists.llvm.org
Fri Apr 15 13:54:01 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 73f5d7d0d6ec0eb474925f1952fd7b6f92024fa1
https://github.com/llvm/llvm-project/commit/73f5d7d0d6ec0eb474925f1952fd7b6f92024fa1
Author: Florian Hahn <flo at fhahn.com>
Date: 2022-04-15 (Fri, 15 Apr 2022)
Changed paths:
M llvm/lib/Transforms/Vectorize/VPlan.h
M llvm/test/Transforms/LoopVectorize/opaque-ptr.ll
Log Message:
-----------
[VPlan] Handle equal address and store ops in onlyFirstLaneDemanded.
With opaque pointers, the stored value and address can be the same.
Previously the code in VPWidenMemoryInstructionRecipe::onlyFirstLaneDemanded
incorrectly considers stores with matching store and pointer operands as
only demanding the first lane, causing a crash.
More information about the All-commits
mailing list