summaryrefslogtreecommitdiffstats
path: root/clang/test/Index/annotate-nested-name-specifier.cpp
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2011-10-05 18:31:00 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2011-10-05 18:31:00 +0000
commit8ff52c413591e9f96bf660b912ae7735f46fc825 (patch)
tree83b5e8596541554a7ce7159ca128b92e1e580e5b /clang/test/Index/annotate-nested-name-specifier.cpp
parentc6b742f98ae3efe0fae9024d4153b54153d4b6a9 (diff)
downloadbcm5719-llvm-8ff52c413591e9f96bf660b912ae7735f46fc825.tar.gz
bcm5719-llvm-8ff52c413591e9f96bf660b912ae7735f46fc825.zip
Simplify INSERT_SUBREG emission.
The register class created by INSERT_SUBREG and SUBREG_TO_REG must be legal and support the SubIdx sub-registers. The new getSubClassWithSubReg() hook can compute that. This may create INSERT_SUBREG instructions defining a larger register class than the sub-register being inserted. That is OK, RegisterCoalescer will constrain the register class as needed when it eliminates the INSERT_SUBREG instructions. llvm-svn: 141198
Diffstat (limited to 'clang/test/Index/annotate-nested-name-specifier.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud