[PATCH] D93923: Use unary CreateShuffleVector if possible

Juneyoung Lee via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 29 14:38:56 PST 2020


aqjune added inline comments.


================
Comment at: llvm/lib/Transforms/Scalar/SROA.cpp:2260
-  V = IRB.CreateSelect(ConstantVector::get(Mask), V, Old, Name + "blend");
+  V = IRB.CreateSelect(ConstantVector::get(Mask2), V, Old, Name + "blend");
 
   LLVM_DEBUG(dbgs() << "    blend: " << *V << "\n");
----------------
I think it is the only part where a non-trivial change has made


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D93923



More information about the llvm-commits mailing list