[PATCH] D110978: [SLP]Improve gathering of the scalars used in the graph.

Alexey Bataev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 26 08:08:20 PDT 2022


ABataev added inline comments.


================
Comment at: llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp:8453
+          Value *Vec = Builder.CreateAlignedLoad(
+              VecTy, UndefValue::get(VecTy->getPointerTo()), MaybeAlign());
+          E->VectorizedValue = Vec;
----------------
nlopes wrote:
> Please use PoisonValue whenever possible. It seems this is just a placeholder, so it can be switched.
> Thank you!
Sure, thanks!


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D110978



More information about the llvm-commits mailing list