aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-cov/SourceCoverageViewText.cpp
diff options
context:
space:
mode:
authorQuentin Colombet <qcolombet@apple.com>2017-10-14 00:43:48 +0000
committerQuentin Colombet <qcolombet@apple.com>2017-10-14 00:43:48 +0000
commitdc2da06c55f052c14c146217d6edc7a7aa1b73e1 (patch)
treec6b055646864cd871d95c000503650928e55a02b /llvm/tools/llvm-cov/SourceCoverageViewText.cpp
parentbfa9e2cae7ad18ab62f933acb0d2cd5d281741cb (diff)
downloadllvm-dc2da06c55f052c14c146217d6edc7a7aa1b73e1.zip
llvm-dc2da06c55f052c14c146217d6edc7a7aa1b73e1.tar.gz
llvm-dc2da06c55f052c14c146217d6edc7a7aa1b73e1.tar.bz2
[AArch64][RegisterBankInfo] Use the statically computed mappings for COPY
We use to resort on the generic implementation to get the mappings for COPYs. The generic implementation resorts on table lookup and dynamically allocated objects to get the valid mappings. Given we already know how to map G_BITCAST and have the static mappings for them, use that code path for COPY as well. This is much more efficient. Improve the compile time of RegBankSelect by up to 20%. Note: When we eventually generate all the mappings via TableGen, we wouldn't have to do that dance to shave compile time. The intent of this change was to make sure that moving to static structure really pays off. NFC. llvm-svn: 315781
Diffstat (limited to 'llvm/tools/llvm-cov/SourceCoverageViewText.cpp')
0 files changed, 0 insertions, 0 deletions