<html>
<head>
<base href="https://bugs.llvm.org/">
</head>
<body><span class="vcard"><a class="email" href="mailto:spatel+llvm@rotateright.com" title="Sanjay Patel <spatel+llvm@rotateright.com>"> <span class="fn">Sanjay Patel</span></a>
</span> changed
<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - Missed optimization in math expression: sqrt(pow(a, 2.0)) == |a|"
href="https://bugs.llvm.org/show_bug.cgi?id=35601">bug 35601</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>NEW
</td>
<td>RESOLVED
</td>
</tr>
<tr>
<td style="text-align:right;">Resolution</td>
<td>---
</td>
<td>FIXED
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - Missed optimization in math expression: sqrt(pow(a, 2.0)) == |a|"
href="https://bugs.llvm.org/show_bug.cgi?id=35601#c5">Comment # 5</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - Missed optimization in math expression: sqrt(pow(a, 2.0)) == |a|"
href="https://bugs.llvm.org/show_bug.cgi?id=35601">bug 35601</a>
from <span class="vcard"><a class="email" href="mailto:spatel+llvm@rotateright.com" title="Sanjay Patel <spatel+llvm@rotateright.com>"> <span class="fn">Sanjay Patel</span></a>
</span></b>
<pre>Should be fixed after:
<a href="https://reviews.llvm.org/rL320309">https://reviews.llvm.org/rL320309</a>
<a href="https://reviews.llvm.org/rL320310">https://reviews.llvm.org/rL320310</a>
Note that there's a sibling bug for pow(x, -1.0) that is still alive (I marked
it with a 'FIXME' comment in the source).
Also, we should be getting these folds with vector types too, but I suspect
we're missing a bunch of those cases.</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>