summaryrefslogtreecommitdiff
path: root/lib/CodeGen/MachineInstr.cpp
diff options
context:
space:
mode:
authorCameron Zwarich <zwarich@apple.com>2011-07-01 23:45:21 +0000
committerCameron Zwarich <zwarich@apple.com>2011-07-01 23:45:21 +0000
commitc20fb63ebdbc8caec4566eaa7bc5be7f0a14cca1 (patch)
treede0bb889435f92932c22a001aebeeb1438e70fcc /lib/CodeGen/MachineInstr.cpp
parente3997d40de141519434a9720d11879610262f708 (diff)
downloadllvm-c20fb63ebdbc8caec4566eaa7bc5be7f0a14cca1.tar.gz
llvm-c20fb63ebdbc8caec4566eaa7bc5be7f0a14cca1.tar.bz2
llvm-c20fb63ebdbc8caec4566eaa7bc5be7f0a14cca1.tar.xz
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
Diffstat (limited to 'lib/CodeGen/MachineInstr.cpp')
-rw-r--r--lib/CodeGen/MachineInstr.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/CodeGen/MachineInstr.cpp b/lib/CodeGen/MachineInstr.cpp
index 0995106a96..77828c929e 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: