<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - GPU Fault 147 and Ring Stalls and Tests Fail in Pillars of Eternity"
href="https://bugs.freedesktop.org/show_bug.cgi?id=89785#c4">Comment # 4</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - GPU Fault 147 and Ring Stalls and Tests Fail in Pillars of Eternity"
href="https://bugs.freedesktop.org/show_bug.cgi?id=89785">bug 89785</a>
from <span class="vcard"><a class="email" href="mailto:tstellar@gmail.com" title="Tom Stellard <tstellar@gmail.com>"> <span class="fn">Tom Stellard</span></a>
</span></b>
<pre>Here is the bug:
s_mov_b64 vcc, s[6:7] ; Store pointer for s_load_dword* in vcc
<snip>
v_cmpx_le_f32_e32 vcc, 0, v6 ; Kill instructions
v_cmpx_le_f32_e32 vcc, 0, v6
v_cmpx_le_f32_e32 vcc, 0, v6
v_cmpx_le_f32_e32 vcc, 0, v6
<snip>
s_load_dwordx8 s[8:15], vcc, 0x48 ; vcc no longer contains a pointer.
The lowering of kill instructions needs to save and restore VCC if it is live.
As a work around, you can try this branch:
<a href="http://cgit.freedesktop.org/~tstellar/llvm/log/?h=sched-perf-Mar-27-2015">http://cgit.freedesktop.org/~tstellar/llvm/log/?h=sched-perf-Mar-27-2015</a>
or take the top two commits and apply it to llvm master. I think this will
avoid the bug.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>