summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SimpleRegisterCoalescing.cpp
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2010-10-22 21:49:09 +0000
committerEvan Cheng <evan.cheng@apple.com>2010-10-22 21:49:09 +0000
commit21eedfb5a2829c0216b31aa541ed2b538ce8424e (patch)
treefabffc96f50c48462d08ec15406556e156b1d903 /llvm/lib/CodeGen/SimpleRegisterCoalescing.cpp
parenta4e231c880e83317ee4463abb12f7f2d8568aa6f (diff)
downloadbcm5719-llvm-21eedfb5a2829c0216b31aa541ed2b538ce8424e.tar.gz
bcm5719-llvm-21eedfb5a2829c0216b31aa541ed2b538ce8424e.zip
Unbreak build.
llvm-svn: 117155
Diffstat (limited to 'llvm/lib/CodeGen/SimpleRegisterCoalescing.cpp')
-rw-r--r--llvm/lib/CodeGen/SimpleRegisterCoalescing.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/llvm/lib/CodeGen/SimpleRegisterCoalescing.cpp b/llvm/lib/CodeGen/SimpleRegisterCoalescing.cpp
index 3b7b4d218d2..d87a666bbea 100644
--- a/llvm/lib/CodeGen/SimpleRegisterCoalescing.cpp
+++ b/llvm/lib/CodeGen/SimpleRegisterCoalescing.cpp
@@ -285,16 +285,6 @@ bool SimpleRegisterCoalescing::HasOtherReachingDefs(LiveInterval &IntA,
return false;
}
-static void
-TransferImplicitOps(MachineInstr *MI, MachineInstr *NewMI) {
- for (unsigned i = MI->getDesc().getNumOperands(), e = MI->getNumOperands();
- i != e; ++i) {
- MachineOperand &MO = MI->getOperand(i);
- if (MO.isReg() && MO.isImplicit())
- NewMI->addOperand(MO);
- }
-}
-
/// RemoveCopyByCommutingDef - We found a non-trivially-coalescable copy with
/// IntA being the source and IntB being the dest, thus this defines a value
/// number in IntB. If the source value number (in IntA) is defined by a
OpenPOWER on IntegriCloud