[PATCH] D30211: [LV] Merge floating point and integer induction widening code

Elena Demikhovsky via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 22 23:06:48 PST 2017


delena added inline comments.


================
Comment at: lib/Transforms/Vectorize/LoopVectorize.cpp:4741
     // Handle the pointer induction variable case.
     assert(P->getType()->isPointerTy() && "Unexpected type.");
     // This is the normalized GEP that starts counting at zero.
----------------
Is the pointer induction really different from int and FP induction?
May be you can put everything under widenInduction?


https://reviews.llvm.org/D30211





More information about the llvm-commits mailing list