mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-01 02:29:19 +00:00
Fix an incorrect comment, PR2147.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48323 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
fe666a3592
commit
7520fcd7a5
@ -58,7 +58,7 @@ static Function *CreateFibFunction(Module *M) {
|
|||||||
// Create an exit block.
|
// Create an exit block.
|
||||||
BasicBlock* RecurseBB = new BasicBlock("recurse", FibF);
|
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);
|
Value *CondInst = new ICmpInst(ICmpInst::ICMP_SLE, ArgX, Two, "cond", BB);
|
||||||
new BranchInst(RetBB, RecurseBB, CondInst, BB);
|
new BranchInst(RetBB, RecurseBB, CondInst, BB);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user