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

--- Comment #1 from Philip Meulengracht <the_meulengra...@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.
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to