[PATCH] D110978: [SLP]Improve gathering of the scalars used in the graph.
Nuno Lopes via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 26 07:54:13 PDT 2022
nlopes 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;
----------------
Please use PoisonValue whenever possible. It seems this is just a placeholder, so it can be switched.
Thank you!
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