Add missing check.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Wed, 7 Dec 2011 01:08:22 +0000 (01:08 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Wed, 7 Dec 2011 01:08:22 +0000 (01:08 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@146004 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/MachineInstr.cpp

index f76e8372b0102db31577b9beaf5c302eaaf1fd26..ee36fc6ae158e01709fda53be2c34001a228183d 100644 (file)
@@ -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()) {