diff options
author | Florian Hahn <flo@fhahn.com> | 2021-12-06 18:32:35 +0000 |
---|---|---|
committer | Florian Hahn <flo@fhahn.com> | 2021-12-06 18:32:35 +0000 |
commit | 07276e49e31e10b5218e2382cedd0f1fe2cfca7d (patch) | |
tree | f337105724f5df54f61a40c56ede97444c3a5ceb /llvm/lib/CodeGen/MachineScheduler.cpp | |
parent | 1f257accd713a8e302d3fdd2cac615a303295c42 (diff) | |
download | llvm-07276e49e31e10b5218e2382cedd0f1fe2cfca7d.zip llvm-07276e49e31e10b5218e2382cedd0f1fe2cfca7d.tar.gz llvm-07276e49e31e10b5218e2382cedd0f1fe2cfca7d.tar.bz2 |
[LV] Check VPValue operand instead of Cost::isUniformAfterVec (NFC).
ILV::scalarizeInstruction still uses the original IR operands to check
if an input value is uniform after vectorization.
There is no need to go back to the cost model to figure that out, as the
information is already explicit in the VPlan. Just check directly
whether the VPValue is defined outside the plan or is a uniform
VPReplicateRecipe.
Reviewed By: Ayal
Differential Revision: https://reviews.llvm.org/D114253
Diffstat (limited to 'llvm/lib/CodeGen/MachineScheduler.cpp')
0 files changed, 0 insertions, 0 deletions