Skip to content

Commit 1c28a31

Browse files
committed
[VPlanTransforms] Tweak comment
1 parent 711a37e commit 1c28a31

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -939,8 +939,8 @@ static void recursivelyDeleteDeadRecipes(VPValue *V) {
939939
}
940940
}
941941

942-
/// Try to fold \p R using TargetFolder to a constant. Will succeed for a
943-
/// handled \p Opcode if all \p Operands are constant.
942+
/// Try to fold \p R using TargetFolder to a constant. Will succeed and return a
943+
/// non-nullptr Value for a handled \p Opcode if all \p Operands are constant.
944944
static Value *tryToConstantFold(const VPRecipeBase &R, unsigned Opcode,
945945
ArrayRef<VPValue *> Operands,
946946
const DataLayout &DL,

0 commit comments

Comments
 (0)