<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_extra"><br><div class="gmail_quote">2018-01-19 23:00 GMT+08:00 Krzysztof Parzyszek via llvm-dev <span dir="ltr"><<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 1/15/2018 6:49 AM, 陳韋任 via llvm-dev wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
- EH_RETURN:<br>
<br>
   I see some targets define their own EH_RETURN SDNode, others don't. What is EH_RETURN, and under what circumstances I should define my own EH_RETURN SDNode?<br>
</blockquote>
<br></span>
This corresponds to a GCC intrinsic used in their unwind routines. It's not really known for its exemplary documentation, so you may need to read GCC's sources to see what they are doing with it.<br>
Unless you plan to compile GCC's unwind library, you don't really need to worry about it.</blockquote><div><br></div><div><span style="font-family:arial,helvetica,sans-serif">I see X86, Mips, XCore and Hexagon define their own EH_RETURN and lower to it, but others don't. May I know why it's so on Hexagon?<div class="gmail_default" style="font-family:arial,helvetica,sans-serif;display:inline">​​</div></span><br></div></div><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Wei-Ren Chen (陳韋任)<br>Homepage: <a href="https://people.cs.nctu.edu.tw/~chenwj" target="_blank">https://people.cs.nctu.edu.tw/~chenwj</a></div></div></div>
</div></div>