[Hexagon] Make sure that RDF does not remove EH_LABELs
authorKrzysztof Parzyszek <kparzysz@codeaurora.org>
Tue, 21 Nov 2017 21:05:51 +0000 (21:05 +0000)
committerKrzysztof Parzyszek <kparzysz@codeaurora.org>
Tue, 21 Nov 2017 21:05:51 +0000 (21:05 +0000)
commitfc0a1812f5179d3f16b0ff6d8432478e3daf6d23
treed3db9f310ba332c442444bb7d8c9c2a5f34c5984
parentba150ef60a9ebadcb20b9557fb86d4b61391db48
[Hexagon] Make sure that RDF does not remove EH_LABELs

Since EH_LABELs (and other labels) no longer have "side-effects", they
should be checked for separately.

llvm-svn: 318801
llvm/lib/Target/Hexagon/RDFDeadCode.cpp
llvm/test/CodeGen/Hexagon/rdf-ehlabel-live.mir [new file with mode: 0644]