<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Merge similar if-statements"
href="https://bugs.freedesktop.org/show_bug.cgi?id=94744#c2">Comment # 2</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Merge similar if-statements"
href="https://bugs.freedesktop.org/show_bug.cgi?id=94744">bug 94744</a>
from <span class="vcard"><a class="email" href="mailto:t_arceri@yahoo.com.au" title="Timothy Arceri <t_arceri@yahoo.com.au>"> <span class="fn">Timothy Arceri</span></a>
</span></b>
<pre>(In reply to Eero Tamminen from <a href="show_bug.cgi?id=94744#c1">comment #1</a>)
<span class="quote">> > Existing optimization passes should turn this into a pair of bcsel instructions.
>
> Ian, is this already done or do you have patches for it?</span >
This is done however i965 doesn't make use of it. If you pass a non-zero limit
to nir_opt_peephole_select() (i965 currently has a limit of zero, all other nir
drivers seem to pass a value) these if-statments should get turned into bcsel.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
</ul>
</body>
</html>