diff options
author | Matthias Braun <matze@braunis.de> | 2016-08-25 01:27:13 +0000 |
---|---|---|
committer | Matthias Braun <matze@braunis.de> | 2016-08-25 01:27:13 +0000 |
commit | 1eb473680a3dac9d75f44c2f4799b4cef8465e5f (patch) | |
tree | 8b55104e7c95bc0f63da2e056dd6d4e3b184441b /llvm/lib/Target/PowerPC | |
parent | f67357c671cc9e63e8a51c304af829801a0cbcd6 (diff) | |
download | llvm-1eb473680a3dac9d75f44c2f4799b4cef8465e5f.zip llvm-1eb473680a3dac9d75f44c2f4799b4cef8465e5f.tar.gz llvm-1eb473680a3dac9d75f44c2f4799b4cef8465e5f.tar.bz2 |
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
Diffstat (limited to 'llvm/lib/Target/PowerPC')
-rw-r--r-- | llvm/lib/Target/PowerPC/PPCBranchSelector.cpp | 2 | ||||
-rw-r--r-- | llvm/lib/Target/PowerPC/PPCEarlyReturn.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCBranchSelector.cpp b/llvm/lib/Target/PowerPC/PPCBranchSelector.cpp index a7352a9..fec0917 100644 --- a/llvm/lib/Target/PowerPC/PPCBranchSelector.cpp +++ b/llvm/lib/Target/PowerPC/PPCBranchSelector.cpp @@ -48,7 +48,7 @@ namespace { MachineFunctionProperties getRequiredProperties() const override { return MachineFunctionProperties().set( - MachineFunctionProperties::Property::AllVRegsAllocated); + MachineFunctionProperties::Property::NoVRegs); } const char *getPassName() const override { diff --git a/llvm/lib/Target/PowerPC/PPCEarlyReturn.cpp b/llvm/lib/Target/PowerPC/PPCEarlyReturn.cpp index fcd2f50..cad4f4f 100644 --- a/llvm/lib/Target/PowerPC/PPCEarlyReturn.cpp +++ b/llvm/lib/Target/PowerPC/PPCEarlyReturn.cpp @@ -196,7 +196,7 @@ public: MachineFunctionProperties getRequiredProperties() const override { return MachineFunctionProperties().set( - MachineFunctionProperties::Property::AllVRegsAllocated); + MachineFunctionProperties::Property::NoVRegs); } void getAnalysisUsage(AnalysisUsage &AU) const override { |