[all-commits] [llvm/llvm-project] 0ef8ca: [VPlan] Do not create VPWidenCall recipes for scal...
Florian Hahn via All-commits
all-commits at lists.llvm.org
Mon May 2 11:47:21 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 0ef8ca6d88aa7e4abc1142c1ddd9da02f989d514
https://github.com/llvm/llvm-project/commit/0ef8ca6d88aa7e4abc1142c1ddd9da02f989d514
Author: Florian Hahn <flo at fhahn.com>
Date: 2022-05-02 (Mon, 02 May 2022)
Changed paths:
M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
M llvm/test/Transforms/LoopVectorize/AArch64/strict-fadd.ll
M llvm/test/Transforms/LoopVectorize/interleave-with-call.ll
Log Message:
-----------
[VPlan] Do not create VPWidenCall recipes for scalar vector factors.
'Widen' recipe are only used when actual vector values are generated.
Fix tryToWidenCall to do not create VPWidenCallRecipes for scalar vector
factors.
This was exposed by D123720, because the widened recipes are considered
vector users.
Reviewed By: Ayal
Differential Revision: https://reviews.llvm.org/D124718
More information about the All-commits
mailing list