[PATCH] D84682: [VPlan] Use VPValue def for VPWidenSelectRecipe.
Dave Green via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 6 01:31:15 PDT 2020
dmgreen accepted this revision.
dmgreen added a comment.
This revision is now accepted and ready to land.
LGTM
================
Comment at: llvm/lib/Transforms/Vectorize/LoopVectorize.cpp:7617-7619
+ // VPWidenSelect is a VPValue already, there is no need to add a separate
+ // VPValue.
+ if (!isa<SelectInst>(Reduction.second.getLoopExitInstr()))
----------------
I think we should just be removing NeedDef!
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D84682/new/
https://reviews.llvm.org/D84682
More information about the llvm-commits
mailing list