Fix an incorrect comment, PR2147.
authorChris Lattner <sabre@nondot.org>
Thu, 13 Mar 2008 03:29:42 +0000 (03:29 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 13 Mar 2008 03:29:42 +0000 (03:29 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48323 91177308-0d34-0410-b5e6-96231b3b80d8

examples/Fibonacci/fibonacci.cpp

index 9ffb3d90383e765916434365ac6efbbbd27aecb7..b028c4b79445b4d5621e6e37182eb5c576eb3b83 100644 (file)
@@ -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);