mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-13 04:38:24 +00:00
Do not track subregister liveness when it brings no benefits
Some subregisters are only to indicate different access sizes, while not providing any way to actually divide the register up into multiple disjunct parts. Avoid tracking subregister liveness in these cases as it is not beneficial. Differential Revision: http://reviews.llvm.org/D8429 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@232695 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -286,7 +286,7 @@ void VirtRegRewriter::addMBBLiveIns() {
|
||||
}
|
||||
|
||||
void VirtRegRewriter::rewrite() {
|
||||
bool NoSubRegLiveness = !MRI->tracksSubRegLiveness();
|
||||
bool NoSubRegLiveness = !MRI->subRegLivenessEnabled();
|
||||
SmallVector<unsigned, 8> SuperDeads;
|
||||
SmallVector<unsigned, 8> SuperDefs;
|
||||
SmallVector<unsigned, 8> SuperKills;
|
||||
|
Reference in New Issue
Block a user