<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - OpenCL kernel fails to compile with R600 LLVM backend"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=69897#c2">Comment # 2</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - OpenCL kernel fails to compile with R600 LLVM backend"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=69897">bug 69897</a>
              from <span class="vcard"><a class="email" href="mailto:greg@chown.ath.cx" title="Grigori Goronzy <greg@chown.ath.cx>"> <span class="fn">Grigori Goronzy</span></a>
</span></b>
        <pre>It seems to fix the initial problem, but now I'm getting something else:

PRT: /home/greg/build/llvm/include/llvm/Support/Casting.h:239: typename
cast_retty<X, Y *>::ret_type llvm::cast(Y *) [X = llvm::BranchInst, Y =
llvm::TerminatorInst]: Assertion `isa<X>(Val) && "cast<Ty>() argument of
incompatible type!"' failed.
Stack dump:
0.    Running pass 'Function Pass Manager' on module 'radeon'.
1.    Running pass 'Region Pass Manager' on function '@shadow_ao'
2.    Running pass 'Structurize control flow' on basic block '%if.end100'</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>