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:
6045417
)
Delete code accidentally left behind.
author
Evan Cheng
<evan.cheng@apple.com>
Mon, 7 Dec 2009 21:19:33 +0000
(21:19 +0000)
committer
Evan Cheng
<evan.cheng@apple.com>
Mon, 7 Dec 2009 21:19:33 +0000
(21:19 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@90804
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/TailDuplication.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/TailDuplication.cpp
b/lib/CodeGen/TailDuplication.cpp
index 603ce38cf5a4ba0a089cb3a79fc49708ac1c4eed..b53ebecf19188c4aebffa1384aec437348a70633 100644
(file)
--- a/
lib/CodeGen/TailDuplication.cpp
+++ b/
lib/CodeGen/TailDuplication.cpp
@@
-244,16
+244,6
@@
bool TailDuplicatePass::TailDuplicateBlocks(MachineFunction &MF) {
if (UseMI->getParent() == DefBB)
continue;
SSAUpdate.RewriteUse(UseMO);
- while (!NewPHIs.empty()) {
- MachineInstr *NewPHI = NewPHIs.back();
- NewPHIs.pop_back();
- unsigned PHIDef = NewPHI->getOperand(0).getReg();
- for (unsigned j = 1, ee = NewPHI->getNumOperands(); j != ee;
- j += 2) {
- if (NewPHI->getOperand(j).getReg() == VReg)
- NewPHI->getOperand(j).setReg(PHIDef);
- }
- }
}
}