diff options
author | Krzysztof Parzyszek <kparzysz@codeaurora.org> | 2016-04-26 18:36:34 +0000 |
---|---|---|
committer | Krzysztof Parzyszek <kparzysz@codeaurora.org> | 2016-04-26 18:36:34 +0000 |
commit | 4773f647bdf86da3fb95d7e34513d12bea55d60d (patch) | |
tree | 9b172ac14afc8a53cae183e0ef475d085b7a54bb /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 4397837be2456454ef87fc5f56a791273acd4c3f (diff) | |
download | bcm5719-llvm-4773f647bdf86da3fb95d7e34513d12bea55d60d.tar.gz bcm5719-llvm-4773f647bdf86da3fb95d7e34513d12bea55d60d.zip |
[Tail duplication] Handle source registers with subregisters
When a block is tail-duplicated, the PHI nodes from that block are
replaced with appropriate COPY instructions. When those PHI nodes
contained use operands with subregisters, the subregisters were
dropped from the COPY instructions, resulting in incorrect code.
Keep track of the subregister information and use this information
when remapping instructions from the duplicated block.
Differential Revision: http://reviews.llvm.org/D19337
llvm-svn: 267583
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions