diff options
author | Gil Rapaport <gil.rapaport@intel.com> | 2019-11-08 22:14:31 +0200 |
---|---|---|
committer | Gil Rapaport <gil.rapaport@intel.com> | 2019-11-08 22:17:11 +0200 |
commit | 9f08ce0d2197d4f163dfa4633eae2347ce8fc881 (patch) | |
tree | 6e02e14bb9d732d7df0b9466aba6e2179567e8ae /llvm/lib/Transforms/Vectorize/VPlan.h | |
parent | 5b47efa20e0c482a60af5fea8dd7e3fae94c1a7e (diff) | |
download | bcm5719-llvm-9f08ce0d2197d4f163dfa4633eae2347ce8fc881.tar.gz bcm5719-llvm-9f08ce0d2197d4f163dfa4633eae2347ce8fc881.zip |
Revert "[LV] Apply sink-after & interleave-groups as VPlan transformations (NFCI)"
This reverts commit 11ed1c0239fd51fd2f064311dc7725277ed0a994 - causes an assert failure.
Diffstat (limited to 'llvm/lib/Transforms/Vectorize/VPlan.h')
-rw-r--r-- | llvm/lib/Transforms/Vectorize/VPlan.h | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/llvm/lib/Transforms/Vectorize/VPlan.h b/llvm/lib/Transforms/Vectorize/VPlan.h index 226c6c0279d..6eeec0f21fd 100644 --- a/llvm/lib/Transforms/Vectorize/VPlan.h +++ b/llvm/lib/Transforms/Vectorize/VPlan.h @@ -567,7 +567,6 @@ public: /// instructions. class VPRecipeBase : public ilist_node_with_parent<VPRecipeBase, VPBasicBlock> { friend VPBasicBlock; - friend class VPBlockUtils; private: const unsigned char SubclassID; ///< Subclass identifier (for isa/dyn_cast). @@ -616,18 +615,10 @@ public: /// the specified recipe. void insertBefore(VPRecipeBase *InsertPos); - /// Insert an unlinked Recipe into a basic block immediately after - /// the specified Recipe. - void insertAfter(VPRecipeBase *InsertPos); - /// Unlink this recipe from its current VPBasicBlock and insert it into /// the VPBasicBlock that MovePos lives in, right after MovePos. void moveAfter(VPRecipeBase *MovePos); - /// This method unlinks 'this' from the containing basic block, but does not - /// delete it. - void removeFromParent(); - /// This method unlinks 'this' from the containing basic block and deletes it. /// /// \returns an iterator pointing to the element after the erased one @@ -982,13 +973,6 @@ public: return V->getVPRecipeID() == VPRecipeBase::VPWidenMemoryInstructionSC; } - /// Return the mask used by this recipe. Note that a full mask is represented - /// by a nullptr. - VPValue *getMask() { - // Mask is the last operand. - return User ? User->getOperand(User->getNumOperands() - 1) : nullptr; - } - /// Generate the wide load/store. void execute(VPTransformState &State) override; |