Hi, please cherry-pick the following commit: commit e933246013eef376804662f3fcf4646c143c6c88 Author: Heiko Przybyl <lil_tux at web.de> Date: Sun Nov 20 14:42:28 2016 +0100 r600/sb: Fix loop optimization related hangs on eg Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=94900