diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2011-10-05 18:31:00 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2011-10-05 18:31:00 +0000 |
commit | 8ff52c413591e9f96bf660b912ae7735f46fc825 (patch) | |
tree | 83b5e8596541554a7ce7159ca128b92e1e580e5b /clang/test/Index/annotate-nested-name-specifier.cpp | |
parent | c6b742f98ae3efe0fae9024d4153b54153d4b6a9 (diff) | |
download | bcm5719-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