Skip to content

Commit 723f2a1

Browse files
committed
Fix an incorrect comment, PR2147.
llvm-svn: 48323
1 parent b64d183 commit 723f2a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/examples/Fibonacci/fibonacci.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ static Function *CreateFibFunction(Module *M) {
5858
// Create an exit block.
5959
BasicBlock* RecurseBB = new BasicBlock("recurse", FibF);
6060

61-
// Create the "if (arg < 2) goto exitbb"
61+
// Create the "if (arg <= 2) goto exitbb"
6262
Value *CondInst = new ICmpInst(ICmpInst::ICMP_SLE, ArgX, Two, "cond", BB);
6363
new BranchInst(RetBB, RecurseBB, CondInst, BB);
6464

0 commit comments

Comments
 (0)