aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2011-06-06 23:55:20 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2011-06-06 23:55:20 +0000
commitdf476270eb3b0937d4ff92e3db5fbfe8bdb4e124 (patch)
tree3eb08b71b5d2cdb08ae348d3d912057c8ebdfa23 /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
parente0d3426e1a35ca15ebce5b92968b678bde89ad99 (diff)
downloadllvm-df476270eb3b0937d4ff92e3db5fbfe8bdb4e124.zip
llvm-df476270eb3b0937d4ff92e3db5fbfe8bdb4e124.tar.gz
llvm-df476270eb3b0937d4ff92e3db5fbfe8bdb4e124.tar.bz2
Simplify local live range splitting's safeguard to fix PR10070.
When local live range splitting creates a live range with the same number of instructions as the old range, mark it as RS_Local. When such a range is seen again, require that it be split in a way that reduces the number of instructions. That guarantees we are making progress while still being able to perform 3 -> 2+3 splits as required by PR10070. This also means that the PrevSlot map is no longer needed. This was also used to estimate new spill weights, but that is no longer necessary after slotIndexes::insertMachineInstrInMaps() got the extra Late insertion argument. llvm-svn: 132697
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions