Take a stab at fixing the llvm-x86_64-linux-checks failure.
authorCameron Zwarich <zwarich@apple.com>
Fri, 1 Jul 2011 23:45:21 +0000 (23:45 +0000)
committerCameron Zwarich <zwarich@apple.com>
Fri, 1 Jul 2011 23:45:21 +0000 (23:45 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134287 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/MachineInstr.cpp

index 0995106a96bac1f8e875196c3d20f268fc2f9cad..77828c929eb2d83a747f6014c5cb811e9fe6f2f0 100644 (file)
@@ -194,6 +194,8 @@ bool MachineOperand::isIdenticalTo(const MachineOperand &Other) const {
            getSubReg() == Other.getSubReg();
   case MachineOperand::MO_Immediate:
     return getImm() == Other.getImm();
+  case MachineOperand::MO_CImmediate:
+    return getCImm() == Other.getCImm();
   case MachineOperand::MO_FPImmediate:
     return getFPImm() == Other.getFPImm();
   case MachineOperand::MO_MachineBasicBlock: