[PATCH] D88735: [SLP] Also try to vectorize incoming values of PHIs .

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 2 06:00:08 PDT 2020


fhahn added inline comments.


================
Comment at: llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp:7595
-      if (P->getNumIncomingValues() != 2)
-        return Changed;
-
----------------
I dropped the early return, because I am not sure if the bail-out on PHIs without 2 incoming values was intentional. I might split this off into a separate patch, if I can come up with an independent test.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D88735/new/

https://reviews.llvm.org/D88735



More information about the llvm-commits mailing list