summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorKrzysztof Parzyszek <kparzysz@codeaurora.org>2016-04-26 18:36:34 +0000
committerKrzysztof Parzyszek <kparzysz@codeaurora.org>2016-04-26 18:36:34 +0000
commit4773f647bdf86da3fb95d7e34513d12bea55d60d (patch)
tree9b172ac14afc8a53cae183e0ef475d085b7a54bb /clang/lib/Frontend/CompilerInvocation.cpp
parent4397837be2456454ef87fc5f56a791273acd4c3f (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud