diff options
author | Hans Wennborg <hans@hanshq.net> | 2016-04-08 15:17:43 +0000 |
---|---|---|
committer | Hans Wennborg <hans@hanshq.net> | 2016-04-08 15:17:43 +0000 |
commit | 5a7723c7a2d5b7d67125f008d7d41b3e4d145f99 (patch) | |
tree | b3bac86c79dbd21c987102645b550c553715c7f5 /llvm/lib/CodeGen/RegAllocBase.h | |
parent | 872dd6c3fe74717d1a2cbc7b62a3cd33f27b699b (diff) | |
download | bcm5719-llvm-5a7723c7a2d5b7d67125f008d7d41b3e4d145f99.tar.gz bcm5719-llvm-5a7723c7a2d5b7d67125f008d7d41b3e4d145f99.zip |
Revert r265547 "Recommit r265309 after fixed an invalid memory reference bug happened"
It caused PR27275: "ARM: Bad machine code: Using an undefined physical register"
Also reverting the following commits that were landed on top:
r265610 "Fix the compare-clang diff error introduced by r265547."
r265639 "Fix the sanitizer bootstrap error in r265547."
r265657 "InlineSpiller.cpp: Escap \@ in r265547. [-Wdocumentation]"
llvm-svn: 265790
Diffstat (limited to 'llvm/lib/CodeGen/RegAllocBase.h')
-rw-r--r-- | llvm/lib/CodeGen/RegAllocBase.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/llvm/lib/CodeGen/RegAllocBase.h b/llvm/lib/CodeGen/RegAllocBase.h index 296ffe8692c..659b8f505a2 100644 --- a/llvm/lib/CodeGen/RegAllocBase.h +++ b/llvm/lib/CodeGen/RegAllocBase.h @@ -65,12 +65,6 @@ protected: LiveRegMatrix *Matrix; RegisterClassInfo RegClassInfo; - /// Inst which is a def of an original reg and whose defs are already all - /// dead after remat is saved in DeadRemats. The deletion of such inst is - /// postponed till all the allocations are done, so its remat expr is - /// always available for the remat of all the siblings of the original reg. - SmallPtrSet<MachineInstr *, 32> DeadRemats; - RegAllocBase() : TRI(nullptr), MRI(nullptr), VRM(nullptr), LIS(nullptr), Matrix(nullptr) {} @@ -83,10 +77,6 @@ protected: // physical register assignments. void allocatePhysRegs(); - // Include spiller post optimization and removing dead defs left because of - // rematerialization. - virtual void postOptimization(); - // Get a temporary reference to a Spiller instance. virtual Spiller &spiller() = 0; |