[RDF] Special treatment of exception handling registers
authorKrzysztof Parzyszek <kparzysz@codeaurora.org>
Tue, 27 Sep 2016 18:18:44 +0000 (18:18 +0000)
committerKrzysztof Parzyszek <kparzysz@codeaurora.org>
Tue, 27 Sep 2016 18:18:44 +0000 (18:18 +0000)
commit1d3222072111953cf5ebb16de5ca0fd680bc3fff
tree3207d39a57fa24fcf395ccebf522dbe13bf61cda
parent0775a2326e39c0a1c3112f16f4e0ee408c3b97bb
[RDF] Special treatment of exception handling registers

A landing pad can have live-in registers that are defined by the runtime,
not the program (exception pointer register and exception selector
register). Make sure to recognize that case and not link these registers
with any defs in the program.
Each landing pad will have phi nodes added at the beginning to provide
definitions of these registers, but the uses of those phi nodes will not
have any reaching defs.

llvm-svn: 282519
llvm/lib/Target/Hexagon/RDFGraph.cpp
llvm/lib/Target/Hexagon/RDFGraph.h