aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Bitcode
diff options
context:
space:
mode:
authorJim Grosbach <grosbach@apple.com>2012-02-29 20:31:17 +0000
committerJim Grosbach <grosbach@apple.com>2012-02-29 20:31:17 +0000
commit95b38aea959449461a9245b0a199758982125f01 (patch)
treee60e928a4b15ec57b990161b45c70a12a76b5f02 /include/llvm/Bitcode
parentacbceeae4d7bdfbbc3437c60a5a3e26449888a15 (diff)
downloadexternal_llvm-95b38aea959449461a9245b0a199758982125f01.zip
external_llvm-95b38aea959449461a9245b0a199758982125f01.tar.gz
external_llvm-95b38aea959449461a9245b0a199758982125f01.tar.bz2
Switch TargetRegisterInfo::getSubReg() to use a lookup table.
Instead of nested switch statements, use a lookup table. On ARM, this replaces a 23k (x86_64 release build) function with a 16k table. Its not unlikely to be faster, as well. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@151751 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Bitcode')
0 files changed, 0 insertions, 0 deletions