[Mesa-dev] [Bug 109540] gen_builder_meta.hpp:51:117: error: no matching function for call to ‘cast(llvm::FunctionCallee)’

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Mar 23 01:46:10 UTC 2019


https://bugs.freedesktop.org/show_bug.cgi?id=109540

Vinson Lee <vlee at freedesktop.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from Vinson Lee <vlee at freedesktop.org> ---
commit 93c81ca336f64c45e43f0c40cb5c5f9084745233
Author: Vinson Lee <vlee at freedesktop.org>
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 <the_meulengracht at hotmail.com>
    Signed-off-by: Vinson Lee <vlee at freedesktop.org>
    Reviewed-by: Alok Hota <alok.hota at intel.com>

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20190323/65918be2/attachment.html>


More information about the mesa-dev mailing list