summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/TwoAddressInstructionPass.cpp
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2006-11-09 02:22:54 +0000
committerEvan Cheng <evan.cheng@apple.com>2006-11-09 02:22:54 +0000
commit1698c2999c11cbbfa9b0c797047538a087382f62 (patch)
treeb66f37fb8755a4cc105e910e4f7a5c2dd29d1eaa /llvm/lib/CodeGen/TwoAddressInstructionPass.cpp
parentc6389c10cc6634bec069fbd84f8213e7aaa8edd9 (diff)
downloadbcm5719-llvm-1698c2999c11cbbfa9b0c797047538a087382f62.tar.gz
bcm5719-llvm-1698c2999c11cbbfa9b0c797047538a087382f62.zip
Remove M_2_ADDR_FLAG.
llvm-svn: 31583
Diffstat (limited to 'llvm/lib/CodeGen/TwoAddressInstructionPass.cpp')
-rw-r--r--llvm/lib/CodeGen/TwoAddressInstructionPass.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/TwoAddressInstructionPass.cpp b/llvm/lib/CodeGen/TwoAddressInstructionPass.cpp
index 50599c850de..dbc50d6b130 100644
--- a/llvm/lib/CodeGen/TwoAddressInstructionPass.cpp
+++ b/llvm/lib/CodeGen/TwoAddressInstructionPass.cpp
@@ -191,8 +191,6 @@ bool TwoAddressInstructionPass::runOnMachineFunction(MachineFunction &MF) {
mbbi->erase(mi); // Nuke the old inst.
mi = New;
++NumConvertedTo3Addr;
- assert(!TII.isTwoAddrInstr(New->getOpcode()) &&
- "convertToThreeAddress returned a 2-addr instruction??");
// Done with this instruction.
break;
}
OpenPOWER on IntegriCloud