summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaDeclAttr.cpp
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
commitf591df6dd76127aeb5736e290bfbc0feb4625b67 (patch)
treec98417c4830283b931d9f962349a436c92db466e /clang/lib/Sema/SemaDeclAttr.cpp
parent42fcf81aba771814453b22a258418d51bf758c5a (diff)
downloadbcm5719-llvm-f591df6dd76127aeb5736e290bfbc0feb4625b67.tar.gz
bcm5719-llvm-f591df6dd76127aeb5736e290bfbc0feb4625b67.zip
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. llvm-svn: 151751
Diffstat (limited to 'clang/lib/Sema/SemaDeclAttr.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud