summaryrefslogtreecommitdiffstats
path: root/llvm/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
commit6ad684852258952a422b225f58110af00de7cf6b (patch)
tree14ae7103deecb31ea451634b10e9c57e11a7c8f2 /llvm/lib/CodeGen
parentd4b82494344460aa643cac10f8cba77397292be6 (diff)
downloadbcm5719-llvm-6ad684852258952a422b225f58110af00de7cf6b.tar.gz
bcm5719-llvm-6ad684852258952a422b225f58110af00de7cf6b.zip
Add missing check.
llvm-svn: 146004
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r--llvm/lib/CodeGen/MachineInstr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/MachineInstr.cpp b/llvm/lib/CodeGen/MachineInstr.cpp
index f76e8372b01..ee36fc6ae15 100644
--- a/llvm/lib/CodeGen/MachineInstr.cpp
+++ b/llvm/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()) {
OpenPOWER on IntegriCloud