[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
Thu Mar 7 08:06:19 UTC 2019
https://bugs.freedesktop.org/show_bug.cgi?id=109540
--- Comment #1 from Philip Meulengracht <the_meulengracht at hotmail.com> ---
I haven't really had a chance to make a patch. But I've fixed this in my own
fork, just add .getCallee() like this:
Function* pFunc =
cast<Function>(JM()->mpCurrentModule->getOrInsertFunction("meta.intrinsic.VGATHERPD",
pFuncTy).getCallee());
This is due to the fact that the functions now return an opaque pointer
instead, wrapped in the FunctionCallee class, the offending commit is here:
https://github.com/llvm-mirror/llvm/commit/9ec60d7d8fa237f19210d325c8c058b89c7b17d2#diff-295d2c56655729b2bd6dc1dfca7c2f0e
The fix is needed several places, also in the codegen template
--
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/20190307/65ecd93d/attachment-0001.html>
More information about the mesa-dev
mailing list