diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2011-10-05 20:26:40 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2011-10-05 20:26:40 +0000 |
commit | f7957a9819d4451c65889bce2fe589668d04efff (patch) | |
tree | 41396fbf89a9196cc8e8c815c4843e7801dfc55d /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | ee9b576a2abee21f3aac80a7d88e2b6dadeffd4e (diff) | |
download | bcm5719-llvm-f7957a9819d4451c65889bce2fe589668d04efff.tar.gz bcm5719-llvm-f7957a9819d4451c65889bce2fe589668d04efff.zip |
Simplify EXTRACT_SUBREG emission.
EXTRACT_SUBREG is emitted as %dst = COPY %src:sub, so there is no need to
constrain the %dst register class. RegisterCoalescer will apply the
necessary constraints if it decides to eliminate the COPY.
The %src register class does need to be constrained to something with
the right sub-registers, though. This is currently done manually with
COPY_TO_REGCLASS nodes. They can possibly be removed after this patch.
llvm-svn: 141207
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions