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

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Jul 24 22:50:00 UTC 2019


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

            Bug ID: 111212
           Summary: gen_builder_meta.hpp:53:117: error: no matching
                    function for call to ‘cast(llvm::FunctionCallee)’
           Product: Mesa
           Version: git
          Hardware: x86-64 (AMD64)
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Drivers/Gallium/swr
          Assignee: mesa-dev at lists.freedesktop.org
          Reporter: vlee at freedesktop.org
        QA Contact: mesa-dev at lists.freedesktop.org

Build error with llvm-10.0

In file included from
../src/gallium/drivers/swr/rasterizer/jitter/builder.h:161:0,
                 from ../src/gallium/drivers/swr/swr_shader.cpp:35:
src/gallium/drivers/swr/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&)’:
src/gallium/drivers/swr/rasterizer/jitter/gen_builder_meta.hpp:53:117: error:
no matching function for call to ‘cast(llvm::FunctionCallee)’
     Function* pFunc =
cast<Function>(JM()->mpCurrentModule->getOrInsertFunction("meta.intrinsic.VGATHERPD",
pFuncTy));
                                                                               
                                     ^

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


More information about the mesa-dev mailing list