[PATCH] D150027: [VPlan] Use VPOpWithIRFlags for VPReplicateRecipe, retire poison map.

Ayal Zaks via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 15 04:18:08 PDT 2023


Ayal added inline comments.


================
Comment at: llvm/lib/Transforms/Vectorize/LoopVectorize.cpp:1076-1078
+      if (auto *OpWithFlags = dyn_cast<VPRecipeWithIRFlags>(CurRec)) {
+        OpWithFlags->dropPoisonGeneratingFlags();
+      } else {
----------------
fhahn wrote:
> Ayal wrote:
> > 
> Done in the committed version, thanks!
nit: can drop {} from "then", to align "else" with "if".


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D150027



More information about the llvm-commits mailing list