[PATCH] D155948: [LV][WIP] dd-exit loops vectorization

Nuno Lopes via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 21 05:59:55 PDT 2023


nlopes added inline comments.


================
Comment at: llvm/lib/Transforms/Vectorize/MultiExitLoopVectorize.cpp:1116
+              OpType, 2, Twine(VecLoopOutVal->getName()) + ".vec.out.merge");
+          MergePhi->addIncoming(UndefValue::get(OpType), NotVecLoopPred);
+          MergePhi->addIncoming(VecLoopOutVal, VecLoopExit);
----------------
Please use poison values instead of undef as a placeholder whenever possible.
We are trying to get rid of undef.
Thank you!


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D155948



More information about the llvm-commits mailing list