[PATCH] D144487: [VPlan] Replace invariance fields from VPWidenGEPRecipe.

Ayal Zaks via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 8 02:07:40 PST 2023


Ayal accepted this revision.
Ayal added a comment.
This revision is now accepted and ready to land.

Nice cleanup!



================
Comment at: llvm/lib/Transforms/Vectorize/VPlan.h:992
+  bool isPointerLoopInvariant() const {
+    return getOperand(0)->isDefinedOutsideVectorRegions();
+  }
----------------
nit: worth adding getPointer() to VPWidenGEPRecipe?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D144487



More information about the llvm-commits mailing list