We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 711a37e commit 1c28a31Copy full SHA for 1c28a31
llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
@@ -939,8 +939,8 @@ static void recursivelyDeleteDeadRecipes(VPValue *V) {
939
}
940
941
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.
+/// Try to fold \p R using TargetFolder to a constant. Will succeed and return a
+/// non-nullptr Value for a handled \p Opcode if all \p Operands are constant.
944
static Value *tryToConstantFold(const VPRecipeBase &R, unsigned Opcode,
945
ArrayRef<VPValue *> Operands,
946
const DataLayout &DL,
0 commit comments