[llvm-commits] CVS: llvm/include/llvm/CodeGen/MachineInstr.h

Chris Lattner lattner at cs.uiuc.edu
Tue Aug 5 16:56:11 PDT 2003


Changes in directory llvm/include/llvm/CodeGen:

MachineInstr.h updated: 1.109 -> 1.110

---
Log message:

Do not insert physical regsiters into the regsUsed set


---
Diffs of the changes:

Index: llvm/include/llvm/CodeGen/MachineInstr.h
diff -u llvm/include/llvm/CodeGen/MachineInstr.h:1.109 llvm/include/llvm/CodeGen/MachineInstr.h:1.110
--- llvm/include/llvm/CodeGen/MachineInstr.h:1.109	Tue Aug  5 12:09:08 2003
+++ llvm/include/llvm/CodeGen/MachineInstr.h	Tue Aug  5 16:55:06 2003
@@ -530,7 +530,6 @@
            "Trying to add an operand to a machine instr that is already done!");
     operands.push_back(MachineOperand(reg, MachineOperand::MO_MachineRegister,
                                       isDef ? MOTy::Def : MOTy::Use));
-    insertUsedReg(reg);
   }
 
   /// addMachineRegOperand - Add a virtual register operand to this MachineInstr
@@ -540,7 +539,6 @@
            "Trying to add an operand to a machine instr that is already done!");
     operands.push_back(MachineOperand(reg, MachineOperand::MO_MachineRegister,
                                       UTy));
-    insertUsedReg(reg);
   }
 
   /// addZeroExtImmOperand - Add a zero extended constant argument to the





More information about the llvm-commits mailing list