summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--llvm/include/llvm/Analysis/ConstantFolding.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/include/llvm/Analysis/ConstantFolding.h b/llvm/include/llvm/Analysis/ConstantFolding.h
index 9b0e34984d4..517842c8b0d 100644
--- a/llvm/include/llvm/Analysis/ConstantFolding.h
+++ b/llvm/include/llvm/Analysis/ConstantFolding.h
@@ -49,8 +49,7 @@ Constant *ConstantFoldInstruction(Instruction *I, const DataLayout &DL,
/// ConstantFoldConstant - Attempt to fold the constant using the
/// specified DataLayout.
-/// If successful, the constant result is result is returned, if not,
-/// null is returned.
+/// If successful, the constant result is returned, if not, null is returned.
Constant *ConstantFoldConstant(const Constant *C, const DataLayout &DL,
const TargetLibraryInfo *TLI = nullptr);
OpenPOWER on IntegriCloud