<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:vlee@freedesktop.org" title="Vinson Lee <vlee@freedesktop.org>"> <span class="fn">Vinson Lee</span></a>
</span> changed
          <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - gen_builder_meta.hpp:51:117: error: no matching function for call to ‘cast(llvm::FunctionCallee)’"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=109540">bug 109540</a>
          <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">Status</td>
           <td>NEW
           </td>
           <td>RESOLVED
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Resolution</td>
           <td>---
           </td>
           <td>FIXED
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - gen_builder_meta.hpp:51:117: error: no matching function for call to ‘cast(llvm::FunctionCallee)’"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=109540#c2">Comment # 2</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - gen_builder_meta.hpp:51:117: error: no matching function for call to ‘cast(llvm::FunctionCallee)’"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=109540">bug 109540</a>
              from <span class="vcard"><a class="email" href="mailto:vlee@freedesktop.org" title="Vinson Lee <vlee@freedesktop.org>"> <span class="fn">Vinson Lee</span></a>
</span></b>
        <pre>commit 93c81ca336f64c45e43f0c40cb5c5f9084745233
Author: Vinson Lee <<a href="mailto:vlee@freedesktop.org">vlee@freedesktop.org</a>>
Date:   Mon Mar 18 11:52:48 2019 -0700

    swr: Fix build with llvm-9.0.

    Fix build error after llvm-9.0svn r352827 ("[opaque pointer types] Add a
    FunctionCallee wrapper type, and use it.").

    In file included from ./rasterizer/jitter/builder.h:158:0,
                     from swr_shader.cpp:35:
    ./rasterizer/jitter/gen_builder_meta.hpp: In member function ‘llvm::Value*
SwrJit::Builder::VGATHERPD(llvm::Value*, 
llvm::Value*, llvm::Value*, llvm::Value*, llvm::Value*, const llvm:
    :Twine&)’:
    ./rasterizer/jitter/gen_builder_meta.hpp:51:117: error: no matching
function for call to ‘cast(llvm::FunctionCallee)

         Function* pFunc =
cast<Function>(JM()->mpCurrentModule->getOrInsertFunction("meta.intrinsic.VGATHERPD",
pFuncTy));
                                                                               
                                         ^

    Suggested-by: Philip Meulengracht <<a href="mailto:the_meulengracht@hotmail.com">the_meulengracht@hotmail.com</a>>
    Signed-off-by: Vinson Lee <<a href="mailto:vlee@freedesktop.org">vlee@freedesktop.org</a>>
    Reviewed-by: Alok Hota <<a href="mailto:alok.hota@intel.com">alok.hota@intel.com</a>></pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the QA Contact for the bug.</li>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>