aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2008-03-13 03:29:42 +0000
committerChris Lattner <sabre@nondot.org>2008-03-13 03:29:42 +0000
commitd6298a3f9e69f6ba6f281732016e1c6a14042217 (patch)
tree68823c892c919ce30ad9cbef2e2c622dadb4b4d7
parent12075100c63ca2d08d440efbd319591c16c19c2a (diff)
downloadexternal_llvm-d6298a3f9e69f6ba6f281732016e1c6a14042217.zip
external_llvm-d6298a3f9e69f6ba6f281732016e1c6a14042217.tar.gz
external_llvm-d6298a3f9e69f6ba6f281732016e1c6a14042217.tar.bz2
Fix an incorrect comment, PR2147.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48323 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--examples/Fibonacci/fibonacci.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/Fibonacci/fibonacci.cpp b/examples/Fibonacci/fibonacci.cpp
index 9ffb3d9..b028c4b 100644
--- a/examples/Fibonacci/fibonacci.cpp
+++ b/examples/Fibonacci/fibonacci.cpp
@@ -58,7 +58,7 @@ static Function *CreateFibFunction(Module *M) {
// Create an exit block.
BasicBlock* RecurseBB = new BasicBlock("recurse", FibF);
- // Create the "if (arg < 2) goto exitbb"
+ // Create the "if (arg <= 2) goto exitbb"
Value *CondInst = new ICmpInst(ICmpInst::ICMP_SLE, ArgX, Two, "cond", BB);
new BranchInst(RetBB, RecurseBB, CondInst, BB);