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:
ac18929
)
Fix -Asserts warning.
author
Daniel Dunbar
<daniel@zuster.org>
Thu, 12 Nov 2009 20:53:43 +0000
(20:53 +0000)
committer
Daniel Dunbar
<daniel@zuster.org>
Thu, 12 Nov 2009 20:53:43 +0000
(20:53 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@87024
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/PHIElimination.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/PHIElimination.cpp
b/lib/CodeGen/PHIElimination.cpp
index 53a7ea2188704a744e19202741398ce6579db4c4..58af9c54b7c0cfb210091b3ffcd1a01c8ec07f4a 100644
(file)
--- a/
lib/CodeGen/PHIElimination.cpp
+++ b/
lib/CodeGen/PHIElimination.cpp
@@
-443,10
+443,9
@@
MachineBasicBlock *PHIElimination::SplitCriticalEdge(MachineBasicBlock *A,
MachineFunction *MF = A->getParent();
MachineBasicBlock *NMBB = MF->CreateMachineBasicBlock(BB);
MF->push_back(NMBB);
- const unsigned NewNum = NMBB->getNumber();
DEBUG(errs() << "PHIElimination splitting critical edge:"
" BB#" << A->getNumber()
- << " -- BB#" << N
ewNum
+ << " -- BB#" << N
MBB->getNumber()
<< " -- BB#" << B->getNumber() << '\n');
A->ReplaceUsesOfBlockWith(B, NMBB);