[PATCH] D86304: [LV] get.active.lane.mask consuming/emitting TripCount instead of backedge-taken count

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 24 04:46:12 PDT 2020


dmgreen added inline comments.


================
Comment at: llvm/lib/Transforms/Vectorize/LoopVectorize.cpp:7043
+      BlockMask = Builder.createNaryOp(VPInstruction::ActiveLaneMask,
+                                       {IV, new VPValue()});
     else
----------------
This looks like it might leak memory. Can you just use a single argument instead?


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

https://reviews.llvm.org/D86304



More information about the llvm-commits mailing list