[Bug 110953] Adding a redundant single-iteration do-while loop causes different image to be rendered
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Thu Jun 20 22:35:39 UTC 2019
https://bugs.freedesktop.org/show_bug.cgi?id=110953
--- Comment #5 from Ian Romanick <idr at freedesktop.org> ---
The problem is this bit of code loop_unroll_visitor::simple_unroll.
if (limit_if != first_ir->as_if() || exit_branch_has_instructions)
iterations++;
The check that the first thing in the loop is an if-statement expects that to
only occur when the if-statement is a terminator for the loop (e.g., if (i > 6)
break;). This loop starts with an if-statement that is not a terminator, so
the loop iteration count is incorrectly incremented.
--
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/20190620/d930ae63/attachment.html>
More information about the intel-3d-bugs
mailing list