[PATCH] D22867: [LV] Untangle the concepts of uniform and scalar
Michael Kuperstein via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 29 00:14:22 PDT 2016
mkuper added a comment.
I'll look at this tomorrow, I hope.
For now, just a note about what Adam suggested.
================
Comment at: lib/Transforms/Vectorize/LoopVectorize.cpp:1487
@@ +1486,3 @@
+ return false;
+ auto *Ptr = LI ? LI->getPointerOperand() : SI->getPointerOperand();
+ auto *Ty = cast<PointerType>(Ptr->getType())->getElementType();
----------------
If you're going to split this out and commit - note that this sequence is what we have the getPointerOperand() helper (that I still want to unify with the 6 others we have throughout the code base...) for.
https://reviews.llvm.org/D22867
More information about the llvm-commits
mailing list