Skip to content

Commit 3ff40e2

Browse files
committed
Add comments for getVFScaleFactor
1 parent dca0ee1 commit 3ff40e2

File tree

1 file changed

+2
-0
lines changed
  • llvm/lib/Transforms/Vectorize

1 file changed

+2
-0
lines changed

llvm/lib/Transforms/Vectorize/VPlan.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2033,6 +2033,7 @@ class VPReductionPHIRecipe : public VPHeaderPHIRecipe,
20332033
/// Generate the phi/select nodes.
20342034
void execute(VPTransformState &State) override;
20352035

2036+
/// Get the factor that the VF of this recipe's output should be scaled by
20362037
unsigned getVFScaleFactor() const { return VFScaleFactor; }
20372038

20382039
#if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)
@@ -2103,6 +2104,7 @@ class VPPartialReductionRecipe : public VPSingleDefRecipe {
21032104
/// Get the binary op's opcode.
21042105
unsigned getOpcode() const { return Opcode; }
21052106

2107+
/// Get the factor that the VF of this recipe's output should be scaled by
21062108
unsigned getVFScaleFactor() const { return VFScaleFactor; }
21072109

21082110
#if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)

0 commit comments

Comments
 (0)