[llvm] 689895f - [VPlan] Remove unneeded `struct` prefix for VPTransformState args (NFC).
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 24 09:58:55 PDT 2022
Author: Florian Hahn
Date: 2022-08-24T17:58:08+01:00
New Revision: 689895f432be9504cdbaf698a14625c950c6c6ad
URL: https://github.com/llvm/llvm-project/commit/689895f432be9504cdbaf698a14625c950c6c6ad
DIFF: https://github.com/llvm/llvm-project/commit/689895f432be9504cdbaf698a14625c950c6c6ad.diff
LOG: [VPlan] Remove unneeded `struct` prefix for VPTransformState args (NFC).
Added:
Modified:
llvm/lib/Transforms/Vectorize/VPlan.h
Removed:
################################################################################
diff --git a/llvm/lib/Transforms/Vectorize/VPlan.h b/llvm/lib/Transforms/Vectorize/VPlan.h
index f009a7ee6b4b6..d76f739617436 100644
--- a/llvm/lib/Transforms/Vectorize/VPlan.h
+++ b/llvm/lib/Transforms/Vectorize/VPlan.h
@@ -580,7 +580,7 @@ class VPBlockBase {
/// The method which generates the output IR that correspond to this
/// VPBlockBase, thereby "executing" the VPlan.
- virtual void execute(struct VPTransformState *State) = 0;
+ virtual void execute(VPTransformState *State) = 0;
/// Delete all blocks reachable from a given VPBlockBase, inclusive.
static void deleteCFG(VPBlockBase *Entry);
@@ -680,7 +680,7 @@ class VPRecipeBase : public ilist_node_with_parent<VPRecipeBase, VPBasicBlock>,
/// The method which generates the output IR instructions that correspond to
/// this VPRecipe, thereby "executing" the VPlan.
- virtual void execute(struct VPTransformState &State) = 0;
+ virtual void execute(VPTransformState &State) = 0;
/// Insert an unlinked recipe into a basic block immediately before
/// the specified recipe.
@@ -2084,7 +2084,7 @@ class VPBasicBlock : public VPBlockBase {
/// The method which generates the output IR instructions that correspond to
/// this VPBasicBlock, thereby "executing" the VPlan.
- void execute(struct VPTransformState *State) override;
+ void execute(VPTransformState *State) override;
/// Return the position of the first non-phi node recipe in the block.
iterator getFirstNonPhi();
@@ -2217,7 +2217,7 @@ class VPRegionBlock : public VPBlockBase {
/// The method which generates the output IR instructions that correspond to
/// this VPRegionBlock, thereby "executing" the VPlan.
- void execute(struct VPTransformState *State) override;
+ void execute(VPTransformState *State) override;
void dropAllReferences(VPValue *NewValue) override;
@@ -2566,7 +2566,7 @@ class VPlan {
bool IsEpilogueVectorization);
/// Generate the IR code for this VPlan.
- void execute(struct VPTransformState *State);
+ void execute(VPTransformState *State);
VPBlockBase *getEntry() { return Entry; }
const VPBlockBase *getEntry() const { return Entry; }
More information about the llvm-commits
mailing list