[PATCH] D50474: [LV] Vectorize header phis that feed from if-convertable latch phis

Anna Thomas via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 8 13:58:07 PDT 2018


anna added inline comments.


================
Comment at: lib/Transforms/Vectorize/LoopVectorize.cpp:3393
+
+void InnerLoopVectorizer::fixScalarLoopAndOutsideUsesForRecurrence(
+    PHINode &Phi, Value *VectorInitForScalar, Value *ScalarInit,
----------------
This is just a refactoring of the code from `fixFirstOrderRecurrence`. It is used by both `fixFirstOrderRecurrence` and `fixCrossIterationPhiInHeader`.


Repository:
  rL LLVM

https://reviews.llvm.org/D50474





More information about the llvm-commits mailing list