[PATCH] D145163: Add support for vectorization of interleaved memory  accesses for scalable VF
    Nuno Lopes via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Thu Mar  2 08:09:56 PST 2023
    
    
  
nlopes added inline comments.
================
Comment at: llvm/lib/IR/IRBuilder.cpp:596
+  if (!PassThru)
+    PassThru = UndefValue::get(Ty);
+  auto *Ld = CreateMaskedLoad(VecTy, Ptr, Alignment, Mask, PassThru, Name);
----------------
Please use PoisonValue here and whenever possible as we are trying to get rid of UndefValue.
Thank you!
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D145163/new/
https://reviews.llvm.org/D145163
    
    
More information about the llvm-commits
mailing list