MachineFunctionProperties/MIRParser: Rename AllVRegsAllocated->NoVRegs, compute it
Rename AllVRegsAllocated to NoVRegs. This avoids the connotation of running after register and simply describes that no vregs are used in a machine function. With that we can simply compute the property and do not need to dump/parse it in .mir files. Differential Revision: http://reviews.llvm.org/D23850 llvm-svn: 279698
This commit is contained in:
@@ -57,10 +57,10 @@ void MachineFunctionInitializer::anchor() {}
|
||||
static const char *getPropertyName(MachineFunctionProperties::Property Prop) {
|
||||
typedef MachineFunctionProperties::Property P;
|
||||
switch(Prop) {
|
||||
case P::AllVRegsAllocated: return "AllVRegsAllocated";
|
||||
case P::IsSSA: return "IsSSA";
|
||||
case P::Legalized: return "Legalized";
|
||||
case P::NoPHIs: return "NoPHIs";
|
||||
case P::NoVRegs: return "NoVRegs";
|
||||
case P::RegBankSelected: return "RegBankSelected";
|
||||
case P::Selected: return "Selected";
|
||||
case P::TracksLiveness: return "TracksLiveness";
|
||||
|
||||
Reference in New Issue
Block a user