[llvm-commits] [llvm] r61014 - /llvm/trunk/lib/Target/Mips/MipsISelDAGToDAG.cpp
Chris Lattner
sabre at nondot.org
Sun Dec 14 13:38:24 PST 2008
Author: lattner
Date: Sun Dec 14 15:38:24 2008
New Revision: 61014
URL: http://llvm.org/viewvc/llvm-project?rev=61014&view=rev
Log:
silence warning when asserts disabled.
Modified:
llvm/trunk/lib/Target/Mips/MipsISelDAGToDAG.cpp
Modified: llvm/trunk/lib/Target/Mips/MipsISelDAGToDAG.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Mips/MipsISelDAGToDAG.cpp?rev=61014&r1=61013&r2=61014&view=diff
==============================================================================
--- llvm/trunk/lib/Target/Mips/MipsISelDAGToDAG.cpp (original)
+++ llvm/trunk/lib/Target/Mips/MipsISelDAGToDAG.cpp Sun Dec 14 15:38:24 2008
@@ -218,12 +218,12 @@
case ISD::SUBE:
case ISD::ADDE: {
SDValue InFlag = Node->getOperand(2), CmpLHS;
- unsigned Opc = InFlag.getOpcode(), MOp;
-
+ unsigned Opc = InFlag.getOpcode(); Opc=Opc;
assert(((Opc == ISD::ADDC || Opc == ISD::ADDE) ||
(Opc == ISD::SUBC || Opc == ISD::SUBE)) &&
"(ADD|SUB)E flag operand must come from (ADD|SUB)C/E insn");
+ unsigned MOp;
if (Opcode == ISD::ADDE) {
CmpLHS = InFlag.getValue(0);
MOp = Mips::ADDu;
More information about the llvm-commits
mailing list