mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-21 23:17:16 +00:00
Minor cleanups and simplifications
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10127 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -76,7 +76,7 @@ bool TailCallElim::runOnFunction(Function &F) {
|
||||
// us to branch back to the old entry block.
|
||||
OldEntry = &F.getEntryBlock();
|
||||
BasicBlock *NewEntry = new BasicBlock("tailrecurse", OldEntry);
|
||||
new BranchInst(OldEntry, 0, 0, NewEntry);
|
||||
new BranchInst(OldEntry, NewEntry);
|
||||
|
||||
// Now that we have created a new block, which jumps to the entry
|
||||
// block, insert a PHI node for each argument of the function.
|
||||
|
||||
Reference in New Issue
Block a user