[PATCH] D144125: [VPlan] Improve VPRecipeBase::isPhi checking

Michael Maitland via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 15 10:51:08 PST 2023


michaelmaitland updated this revision to Diff 497746.
michaelmaitland added a comment.

Since VPWidenIntOrFpInductionRecipe exists is phi like and in the
header, but isnt a VPCSAHeaderPHIRecipe, I fix the verification check.
I think a `isHeaderPhi` function where recipes can report if they are
header phi like might be nice in the future.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D144125

Files:
  llvm/lib/Transforms/Vectorize/VPlan.h
  llvm/lib/Transforms/Vectorize/VPlanValue.h
  llvm/lib/Transforms/Vectorize/VPlanVerifier.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D144125.497746.patch
Type: text/x-patch
Size: 4272 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230215/2f101678/attachment.bin>


More information about the llvm-commits mailing list