[all-commits] [llvm/llvm-project] 541ca1: [LV] Use VPReplicateRecipe::isUniform instead isUn...
Florian Hahn via All-commits
all-commits at lists.llvm.org
Sun Feb 6 08:41:00 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 541ca12dcd7c4aaefdeab810f7a82dfd60c682c2
https://github.com/llvm/llvm-project/commit/541ca12dcd7c4aaefdeab810f7a82dfd60c682c2
Author: Florian Hahn <flo at fhahn.com>
Date: 2022-02-06 (Sun, 06 Feb 2022)
Changed paths:
M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
Log Message:
-----------
[LV] Use VPReplicateRecipe::isUniform instead isUniformAfterVec (NFCI).
In scalarizeInstruction(), isUniformAfterVectorization is used to detect
cases where it is sufficient to always access the first lane. This
should map directly checking whether the operand is a uniform replicate
recipe.
Differential Revision: https://reviews.llvm.org/D116654
More information about the All-commits
mailing list