[llvm-commits] [llvm] r48323 - /llvm/trunk/examples/Fibonacci/fibonacci.cpp
Chris Lattner
sabre at nondot.org
Wed Mar 12 20:29:43 PDT 2008
Author: lattner
Date: Wed Mar 12 22:29:42 2008
New Revision: 48323
URL: http://llvm.org/viewvc/llvm-project?rev=48323&view=rev
Log:
Fix an incorrect comment, PR2147.
Modified:
llvm/trunk/examples/Fibonacci/fibonacci.cpp
Modified: llvm/trunk/examples/Fibonacci/fibonacci.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/examples/Fibonacci/fibonacci.cpp?rev=48323&r1=48322&r2=48323&view=diff
==============================================================================
--- llvm/trunk/examples/Fibonacci/fibonacci.cpp (original)
+++ llvm/trunk/examples/Fibonacci/fibonacci.cpp Wed Mar 12 22:29:42 2008
@@ -58,7 +58,7 @@
// 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);
More information about the llvm-commits
mailing list