Tail duplication can mix incompatible registers in phi nodes
authorKrzysztof Parzyszek <kparzysz@codeaurora.org>
Wed, 21 Oct 2015 02:40:06 +0000 (02:40 +0000)
committerKrzysztof Parzyszek <kparzysz@codeaurora.org>
Wed, 21 Oct 2015 02:40:06 +0000 (02:40 +0000)
commitfdb7b693a7ad4f13c96886e6cf4fac360ad95625
tree9e07cb6c5bff75deb2d28dce792028a494e96be5
parent55765ca54a994e331ef82667f2188e552915b9bd
Tail duplication can mix incompatible registers in phi nodes

Do not tail duplicate blocks where the successor has a phi node,
and the corresponding value in that phi node uses a subregister.

http://reviews.llvm.org/D13922

llvm-svn: 250877
llvm/lib/CodeGen/TailDuplication.cpp
llvm/test/CodeGen/Hexagon/tail-dup-subreg-abort.ll [new file with mode: 0644]