projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fe666a3
)
Fix an incorrect comment, PR2147.
author
Chris Lattner
<sabre@nondot.org>
Thu, 13 Mar 2008 03:29:42 +0000
(
03:29
+0000)
committer
Chris 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
patch
|
blob
|
history
diff --git
a/examples/Fibonacci/fibonacci.cpp
b/examples/Fibonacci/fibonacci.cpp
index 9ffb3d90383e765916434365ac6efbbbd27aecb7..b028c4b79445b4d5621e6e37182eb5c576eb3b83 100644
(file)
--- 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);