[RDF] Fix liveness propagation through shadows
authorKrzysztof Parzyszek <kparzysz@codeaurora.org>
Mon, 3 Oct 2016 20:17:20 +0000 (20:17 +0000)
committerKrzysztof Parzyszek <kparzysz@codeaurora.org>
Mon, 3 Oct 2016 20:17:20 +0000 (20:17 +0000)
commitc8b6ecabd80289c72173a5285bf611074f9e33bc
tree800bb7eadc540123bdf1c18725ada11a85b50934
parenta827ed8891bcb3f21d562f8a96a0d60ba9c51ef7
[RDF] Fix liveness propagation through shadows

Each shadow only represents data flow that is restricted to its reaching
def. Propagating more than that could lead to spurious register liveness,
resulting in extra (incorrectly) block live-ins.

llvm-svn: 283143
llvm/lib/Target/Hexagon/RDFLiveness.cpp
llvm/test/CodeGen/Hexagon/rdf-extra-livein.ll [new file with mode: 0644]