There is no need to store information about invariance in the recipe.
Replace the fields with checks of the operands using
isDefinedOutsideVectorRegions.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Nice cleanup! Indicate patch is [NFC]?
llvm/lib/Transforms/Vectorize/VPlan.h | ||
---|---|---|
965 | nit: public: here is now redundant given that class became struct? | |
966 | nit: worth adding getCond() to VPWidenSelectRecipe? (Independent of this patch.) nit: better place isInvariantCond() method below, after con/destructor? |
llvm/lib/Transforms/Vectorize/VPlan.h | ||
---|---|---|
965 | Done in the committed version, thanks! | |
966 |
Done in 9be8d90e62a1
Done in the committed version, thanks! |
nit: public: here is now redundant given that class became struct?