summaryrefslogtreecommitdiff
path: root/lib/CodeGen
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2011-12-07 01:08:22 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2011-12-07 01:08:22 +0000
commit04003451986868d201a2893c2ff2eaa0fb869aee (patch)
tree8108603203b27f7e34795c0e136b66a4d4650ec9 /lib/CodeGen
parent3b8991cc98a469cbf8d9fa2a2ad971f46b8b6fd2 (diff)
downloadllvm-04003451986868d201a2893c2ff2eaa0fb869aee.tar.gz
llvm-04003451986868d201a2893c2ff2eaa0fb869aee.tar.bz2
llvm-04003451986868d201a2893c2ff2eaa0fb869aee.tar.xz
Add missing check.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@146004 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen')
-rw-r--r--lib/CodeGen/MachineInstr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/MachineInstr.cpp b/lib/CodeGen/MachineInstr.cpp
index f76e8372b0..ee36fc6ae1 100644
--- a/lib/CodeGen/MachineInstr.cpp
+++ b/lib/CodeGen/MachineInstr.cpp
@@ -241,7 +241,7 @@ void MachineOperand::print(raw_ostream &OS, const TargetMachine *TM) const {
OS << PrintReg(getReg(), TRI, getSubReg());
if (isDef() || isKill() || isDead() || isImplicit() || isUndef() ||
- isEarlyClobber()) {
+ isInternalRead() || isEarlyClobber()) {
OS << '<';
bool NeedComma = false;
if (isDef()) {