<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - Implement VGPR Register Spilling"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=75276#c30">Comment # 30</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - Implement VGPR Register Spilling"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=75276">bug 75276</a>
              from <span class="vcard"><a class="email" href="mailto:haagch@frickel.club" title="Christoph Haag <haagch@frickel.club>"> <span class="fn">Christoph Haag</span></a>
</span></b>
        <pre>(In reply to <a href="show_bug.cgi?id=75276#c28">comment #28</a>)
<span class="quote">> > LLVM ERROR: ran out of registers during register allocation</span >

I do not get this message on upstream llvm recent revisions.

But every demo segfaults. Mostly in LLVMBuildBitCast().

Running a demo looks like this:


$ DRI_PRIME=1 ./Effects
Using binned.
4.3.0-0+UE4 7038 3077 379 0
Signal 11 caught.
EngineCrashHandler: Signal=11


Exiting due to error
Starting ../../../Engine/Binaries/Linux/CrashReportClient
[1]    10932 abort (core dumped)  DRI_PRIME=1 ./Effects


This is still a problem with register spilling that just looks different,
right?
Should I compile with debug symbols and get a complete backtrace or wouldn't
that provide any new information?


(By the way, applying this small patch makes it render almost completely
correct on intel: <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED NOTOURBUG - Fix Mesa bugs for running Unreal Engine 4.1 Cave effects demo compiled for Linux"
   href="show_bug.cgi?id=78716#c10">https://bugs.freedesktop.org/show_bug.cgi?id=78716#c10</a>)</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>