[PATCH] D139074: Vectorization Of Conditional Statements Using BOSCC

Ashutosh Nema via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 2 01:10:04 PST 2022


Ashutosh added inline comments.


================
Comment at: llvm/lib/Analysis/VectorUtils.cpp:586
+      Constant *PromoteMaskConst = ConstantVector::get(PromoteMask);
+      M2 = Builder.CreateShuffleVector(M2, UndefValue::get(M2->getType()),
+                                       PromoteMaskConst, "promoted_mask");
----------------
nlopes wrote:
> Please use poison instead of undef as placeholder whenever possible. We are trying to remove undef from LLVM.
> Thank you!
Sure i'll address this.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D139074



More information about the llvm-commits mailing list