From: Cameron Zwarich Date: Fri, 1 Jul 2011 23:45:21 +0000 (+0000) Subject: Take a stab at fixing the llvm-x86_64-linux-checks failure. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=c20fb63ebdbc8caec4566eaa7bc5be7f0a14cca1;p=oota-llvm.git Take a stab at fixing the llvm-x86_64-linux-checks failure. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134287 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/MachineInstr.cpp b/lib/CodeGen/MachineInstr.cpp index 0995106a96b..77828c929eb 100644 --- a/lib/CodeGen/MachineInstr.cpp +++ b/lib/CodeGen/MachineInstr.cpp @@ -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: