<html>
<head>
<base href="https://llvm.org/bugs/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:sanjoy@playingwithpointers.com" title="Sanjoy Das <sanjoy@playingwithpointers.com>"> <span class="fn">Sanjoy Das</span></a>
</span> changed
<a class="bz_bug_link
bz_status_REOPENED " title="REOPENED --- - LICM incorrectly hoists load because Instruction::mayThrow does not correctly handle invokes" href="https://urldefense.proofpoint.com/v2/url?u=https-3A__llvm.org_bugs_show-5Fbug.cgi-3Fid-3D24185&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=pF93YEPyB-J_PERP4DUZOJDzFVX5ZQ57vQk33wu0vio&m=qW_d1XKkPu-lGvDVkw6G92XG2wAQFuSJYjGBaVfE218&s=REDDeuQGCmU-TMPklW5hSVZpPxP4Of6OXRJsxWXYzHE&e=">bug 24185</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">Status</td>
<td>RESOLVED
</td>
<td>REOPENED
</td>
</tr>
<tr>
<td style="text-align:right;">CC</td>
<td>
</td>
<td>rnk@google.com
</td>
</tr>
<tr>
<td style="text-align:right;">Resolution</td>
<td>INVALID
</td>
<td>---
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_REOPENED " title="REOPENED --- - LICM incorrectly hoists load because Instruction::mayThrow does not correctly handle invokes" href="https://urldefense.proofpoint.com/v2/url?u=https-3A__llvm.org_bugs_show-5Fbug.cgi-3Fid-3D24185-23c3&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=pF93YEPyB-J_PERP4DUZOJDzFVX5ZQ57vQk33wu0vio&m=qW_d1XKkPu-lGvDVkw6G92XG2wAQFuSJYjGBaVfE218&s=Inlls7bvH5rJvi_v6Yb9CyTvwTixETLS5DDbEmXNURk&e=">Comment # 3</a>
on <a class="bz_bug_link
bz_status_REOPENED " title="REOPENED --- - LICM incorrectly hoists load because Instruction::mayThrow does not correctly handle invokes" href="https://urldefense.proofpoint.com/v2/url?u=https-3A__llvm.org_bugs_show-5Fbug.cgi-3Fid-3D24185&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=pF93YEPyB-J_PERP4DUZOJDzFVX5ZQ57vQk33wu0vio&m=qW_d1XKkPu-lGvDVkw6G92XG2wAQFuSJYjGBaVfE218&s=REDDeuQGCmU-TMPklW5hSVZpPxP4Of6OXRJsxWXYzHE&e=">bug 24185</a>
from <span class="vcard"><a class="email" href="mailto:sanjoy@playingwithpointers.com" title="Sanjoy Das <sanjoy@playingwithpointers.com>"> <span class="fn">Sanjoy Das</span></a>
</span></b>
<pre>After reading <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_docs_ExceptionHandling.html&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=pF93YEPyB-J_PERP4DUZOJDzFVX5ZQ57vQk33wu0vio&m=qW_d1XKkPu-lGvDVkw6G92XG2wAQFuSJYjGBaVfE218&s=HWy1dyTZpxFrY2f66TEVng8KkGauvPIGWrpgZM4Lwd8&e=">http://llvm.org/docs/ExceptionHandling.html</a>, I think this bug
merits re-opening. The doc says:
* catch <type> @ExcType
* This clause means that the landingpad block should be entered if the
exception being thrown is of type @ExcType or a subtype of @ExcType. For C++,
@ExcType is a pointer to the std::type_info object (an RTTI object)
representing the C++ exception type.
* If @ExcType is null, any exception matches, so the landingpad should always
be entered. This is used for C++ catch-all blocks (“catch (...)”).
* When this clause is matched, the selector value will be equal to the value
returned by “@llvm.eh.typeid.for(i8* @ExcType)”. This will always be a positive
value.
The doc does not say that landing pads execute for every thrown exception. I
could not find anything that says landingpads execute for any exception in the
Itanium EH ABI either.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>