[Bug 94744] Merge similar if-statements

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Jul 18 06:29:17 UTC 2018


https://bugs.freedesktop.org/show_bug.cgi?id=94744

--- Comment #2 from Timothy Arceri <t_arceri at yahoo.com.au> ---
(In reply to Eero Tamminen from comment #1)
> > Existing optimization passes should turn this into a pair of bcsel instructions.
> 
> Ian, is this already done or do you have patches for it?

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.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-3d-bugs/attachments/20180718/871778d5/attachment-0001.html>


More information about the intel-3d-bugs mailing list