diff options
author | Kerry McLaughlin <kerry.mclaughlin@arm.com> | 2021-11-09 09:51:00 +0000 |
---|---|---|
committer | Kerry McLaughlin <kerry.mclaughlin@arm.com> | 2021-11-09 14:43:16 +0000 |
commit | 0d748b4d32cbddf58a1ff83f3ff178ec1ad49edc (patch) | |
tree | f49f9219363e91b3911782edaba935d18edf21f6 /clang/lib/Basic/SourceManager.cpp | |
parent | 092cee5f7fe991cc0cfef6a6d52ae150723ce7a0 (diff) | |
download | llvm-0d748b4d32cbddf58a1ff83f3ff178ec1ad49edc.zip llvm-0d748b4d32cbddf58a1ff83f3ff178ec1ad49edc.tar.gz llvm-0d748b4d32cbddf58a1ff83f3ff178ec1ad49edc.tar.bz2 |
[LoopVectorize] Extract the last lane from a uniform store
Changes VPReplicateRecipe to extract the last lane from an unconditional,
uniform store instruction. collectLoopUniforms will also add stores to
the list of uniform instructions where Legal->isUniformMemOp is true.
setCostBasedWideningDecision now sets the widening decision for
all uniform memory ops to Scalarize, where previously GatherScatter
may have been chosen for scalable stores.
This fixes an assert ("Cannot yet scalarize uniform stores") in
setCostBasedWideningDecision when we have a loop containing a
uniform i1 store and a scalable VF, which we cannot create a scatter for.
Reviewed By: sdesmalen, david-arm, fhahn
Differential Revision: https://reviews.llvm.org/D112725
Diffstat (limited to 'clang/lib/Basic/SourceManager.cpp')
0 files changed, 0 insertions, 0 deletions