On Fri, 2018-02-16 at 05:49 +0100, Dieter Nützel wrote:
> Hello Jan,
> 
> something semilar is needed fro libclc, too.
> 
> LLVM-CC nvptx64--nvidiacl/lib/geometric/dot.cl.bc
> ./utils/prepare-builtins.cpp:108:3: error: no matching function for call 
> to 'WriteBitcodeToFile'
>    WriteBitcodeToFile(M, Out->os());
>    ^~~~~~~~~~~~~~~~~~
> /usr/local/include/llvm/Bitcode/BitcodeWriter.h:129:8: note: candidate 
> function not viable: no known
>        conversion from 'llvm::Module *' to 'const llvm::Module' for 1st 
> argument; dereference the
>        argument with *
>    void WriteBitcodeToFile(const Module &M, raw_ostream &Out,
>         ^

patch is now posted at:
https://lists.llvm.org/pipermail/libclc-dev/2018-February/002800.html

Jan

> 
> Greetings,
> Dieter

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to