diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2012-05-29 23:40:02 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2012-05-29 23:40:02 +0000 |
commit | 96feada378dc9769644333ca9670b265fd15a2ef (patch) | |
tree | 2eccfe9877205be0e0f7f52ebcceb1772f9abe82 /lib/CodeGen/MachineFunctionPrinterPass.cpp | |
parent | f52baf72c116d9cf8680d25a8e751ce354c7d44b (diff) |
Use MCRegUnitIterator to compute regsOverlap().
The register unit lists are typically much shorter than the register
overlap lists, and the backing table for register units has better cache
locality because it is smaller.
This makes llc about 0.5% faster. The regsOverlap() function isn't that hot.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@157651 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/MachineFunctionPrinterPass.cpp')
0 files changed, 0 insertions, 0 deletions