From d6298a3f9e69f6ba6f281732016e1c6a14042217 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Thu, 13 Mar 2008 03:29:42 +0000 Subject: Fix an incorrect comment, PR2147. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48323 91177308-0d34-0410-b5e6-96231b3b80d8 --- examples/Fibonacci/fibonacci.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.1