diff options
author | Derek Schuff <dschuff@google.com> | 2016-03-29 17:40:22 +0000 |
---|---|---|
committer | Derek Schuff <dschuff@google.com> | 2016-03-29 17:40:22 +0000 |
commit | 42666eeea22f582ba706290c9b565e83882813b6 (patch) | |
tree | 845e2aab027b048d6fa352c3a3f3f07854ffe8ae /llvm/lib/CodeGen/RegAllocBasic.cpp | |
parent | f46262e0b7a183c22b9384cd729c5fb0f05e5d38 (diff) | |
download | bcm5719-llvm-42666eeea22f582ba706290c9b565e83882813b6.tar.gz bcm5719-llvm-42666eeea22f582ba706290c9b565e83882813b6.zip |
Add MachineVerifier check for AllVRegsAllocated MachineFunctionProperty
Summary:
Check that any function that has the property set is free of virtual
register operands.
Also, it is actually VirtRegMap (and not the register allocators) that
acutally remove the VReg operands (except for RegAllocFast).
Reviewers: qcolombet
Subscribers: MatzeB, llvm-commits, qcolombet
Differential Revision: http://reviews.llvm.org/D18535
llvm-svn: 264755
Diffstat (limited to 'llvm/lib/CodeGen/RegAllocBasic.cpp')
-rw-r--r-- | llvm/lib/CodeGen/RegAllocBasic.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/llvm/lib/CodeGen/RegAllocBasic.cpp b/llvm/lib/CodeGen/RegAllocBasic.cpp index c9b9b8aae21..cfe367d5115 100644 --- a/llvm/lib/CodeGen/RegAllocBasic.cpp +++ b/llvm/lib/CodeGen/RegAllocBasic.cpp @@ -83,11 +83,6 @@ public: /// RABasic analysis usage. void getAnalysisUsage(AnalysisUsage &AU) const override; - MachineFunctionProperties getSetProperties() const override { - return MachineFunctionProperties().set( - MachineFunctionProperties::Property::AllVRegsAllocated); - } - void releaseMemory() override; Spiller &spiller() override { return *SpillerInstance; } |