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

Alkis Evlogimenos alkis at cs.uiuc.edu
Sat Dec 13 05:12:10 PST 2003


Changes in directory llvm/include/llvm/CodeGen:

LiveVariables.h updated: 1.8 -> 1.9

---
Log message:

Ignore non-allocatable physical registers in live interval analysis.


---
Diffs of the changes:  (+4 -0)

Index: llvm/include/llvm/CodeGen/LiveVariables.h
diff -u llvm/include/llvm/CodeGen/LiveVariables.h:1.8 llvm/include/llvm/CodeGen/LiveVariables.h:1.9
--- llvm/include/llvm/CodeGen/LiveVariables.h:1.8	Tue Nov 11 16:41:31 2003
+++ llvm/include/llvm/CodeGen/LiveVariables.h	Sat Dec 13 05:11:02 2003
@@ -202,6 +202,10 @@
   /// register.
   VarInfo &getVarInfo(unsigned RegIdx);
 
+  const std::vector<bool>& getAllocatablePhysicalRegisters() const {
+    return AllocatablePhysicalRegisters;
+  }
+
   void MarkVirtRegAliveInBlock(VarInfo &VRInfo, const BasicBlock *BB);
   void HandleVirtRegUse(VarInfo &VRInfo, MachineBasicBlock *MBB,
                        	MachineInstr *MI);





More information about the llvm-commits mailing list