[PATCH] D77635: [LV] Vectorize with FoldTail when Primary Induction is absent
Florian Hahn via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 8 11:25:07 PDT 2020
fhahn added inline comments.
================
Comment at: llvm/lib/Transforms/Vectorize/VPlan.h:1149
+private:
+ VPValue *Val = nullptr;
+
----------------
fhahn wrote:
> Could be a unique_ptr?
actually, the lifetime is directly tied to the recipe, right? So maybe no pointer is needed at all and we can just add a `VPValue Val` member?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D77635/new/
https://reviews.llvm.org/D77635
More information about the llvm-commits
mailing list