diff options
author | Chris Lattner <sabre@nondot.org> | 2008-12-14 21:38:24 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2008-12-14 21:38:24 +0000 |
commit | 30baa95afdf1199c2c5514310907b01ce5584cf5 (patch) | |
tree | 6a206bc1d8001f3edcfdaa1afb2fbfc4c2825c63 /lib/Target/Mips | |
parent | 03a46989b61ec140885d53e85be32c2083bbde89 (diff) | |
download | external_llvm-30baa95afdf1199c2c5514310907b01ce5584cf5.zip external_llvm-30baa95afdf1199c2c5514310907b01ce5584cf5.tar.gz external_llvm-30baa95afdf1199c2c5514310907b01ce5584cf5.tar.bz2 |
silence warning when asserts disabled.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61014 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Mips')
-rw-r--r-- | lib/Target/Mips/MipsISelDAGToDAG.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/Mips/MipsISelDAGToDAG.cpp b/lib/Target/Mips/MipsISelDAGToDAG.cpp index 95854bb..099fb53 100644 --- a/lib/Target/Mips/MipsISelDAGToDAG.cpp +++ b/lib/Target/Mips/MipsISelDAGToDAG.cpp @@ -218,12 +218,12 @@ Select(SDValue N) 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; |