aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/ProfileData/Coverage/CoverageMappingReader.cpp
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2019-05-16 12:50:39 +0000
committerMatt Arsenault <Matthew.Arsenault@amd.com>2019-05-16 12:50:39 +0000
commit828b685ebe3fed20ec0674f9a38594bfed84621f (patch)
treee67f959e857f773a0b5b3ddf9d3280d5014426fd /llvm/lib/ProfileData/Coverage/CoverageMappingReader.cpp
parent3a0e6e1c6c9622d692e94d627e17925b45602547 (diff)
downloadllvm-828b685ebe3fed20ec0674f9a38594bfed84621f.zip
llvm-828b685ebe3fed20ec0674f9a38594bfed84621f.tar.gz
llvm-828b685ebe3fed20ec0674f9a38594bfed84621f.tar.bz2
RegAllocFast: Improve hinting heuristic
Trace through multiple COPYs when looking for a physreg source. Add hinting for vregs that will be copied into physregs (we only hinted for vregs getting copied to a physreg previously). Give hinted a register a bonus when deciding which value to spill. This is part of my rewrite regallocfast series. In fact this one doesn't even have an effect unless you also flip the allocation to happen from back to front of a basic block. Nonetheless it helps to split this up to ease review of D52010 Patch by Matthias Braun llvm-svn: 360887
Diffstat (limited to 'llvm/lib/ProfileData/Coverage/CoverageMappingReader.cpp')
0 files changed, 0 insertions, 0 deletions