summaryrefslogtreecommitdiff
path: root/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
commita1fd6504aaf62b87530e8230517957bad3facc96 (patch)
treefb88ec42cf63d8dd4e2fe981e9c9feb3763e59d2 /lib/CodeGen/TwoAddressInstructionPass.cpp
parentdd2b95534f866ec6f31df101624a715612c97ffa (diff)
downloadllvm-a1fd6504aaf62b87530e8230517957bad3facc96.tar.gz
llvm-a1fd6504aaf62b87530e8230517957bad3facc96.tar.bz2
llvm-a1fd6504aaf62b87530e8230517957bad3facc96.tar.xz
Remove M_2_ADDR_FLAG.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31583 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/TwoAddressInstructionPass.cpp')
-rw-r--r--lib/CodeGen/TwoAddressInstructionPass.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/CodeGen/TwoAddressInstructionPass.cpp b/lib/CodeGen/TwoAddressInstructionPass.cpp
index 50599c850d..dbc50d6b13 100644
--- a/lib/CodeGen/TwoAddressInstructionPass.cpp
+++ b/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;
}