<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
SPIR-V is no problem.
<div class="">see <a href="https://github.com/thewilsonator/llvm-target-spirv" class="">https://github.com/thewilsonator/llvm-target-spirv</a> (a submodule of below)</div>
<div class="">and <a href="https://github.com/thewilsonator/llvm" class="">https://github.com/thewilsonator/llvm</a></div>
<div class="">they are kept reasonably up to date with trunk (API breakage compatible).</div>
<div class=""><br class="">
</div>
<div class="">I do want to merge it into trunk, but I need to make it use LLVM intrinsics instead of mangled Itanium C++ with extensions.</div>
<div class="">This will hopefully happen (at least get in motion) at IWOCL.</div>
<div class=""><br class="">
</div>
<div class="">Nic</div>
<div class=""><br class="">
</div>
<div>
<blockquote type="cite" class="">
<div class="">On 19 Dec 2017, at 10:27 pm, Jakob Bornecrantz <<a href="mailto:wallbraker@gmail.com" class="">wallbraker@gmail.com</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div class="">That really should change, at least for SPIR-V.<br class="">
<br class="">
Cheers, Jakob.<br class="">
<br class="">
On Tue, Dec 19, 2017 at 2:03 PM, Neil Henning via llvm-dev<br class="">
<<a href="mailto:llvm-dev@lists.llvm.org" class="">llvm-dev@lists.llvm.org</a>> wrote:<br class="">
<blockquote type="cite" class="">For SPIR 1.2 you can use this repo + the instructions in it<br class="">
<a href="https://github.com/KhronosGroup/SPIR" class="">https://github.com/KhronosGroup/SPIR</a><br class="">
<br class="">
I don't believe there is a way to generate SPIR from LLVM trunk.<br class="">
<br class="">
Cheers,<br class="">
-Neil.<br class="">
<br class="">
On 2017-12-02 00:23, Nicholas Wilson via llvm-dev wrote:<br class="">
<blockquote type="cite" class=""><br class="">
I am already successfully generating SPIR-V with a forward port of<br class="">
Khronos’ SPIR-V LLVM. What does one need in order to generate SPIR?<br class="">
<br class="">
From what I gather it is _based on_ a specific LLVM IR version (3.4?)<br class="">
with a bunch of metadata.<br class="">
Is it possible to generate SPIR from LLVM trunk? If so how?<br class="">
<br class="">
Thanks<br class="">
Nic<br class="">
_______________________________________________<br class="">
LLVM Developers mailing list<br class="">
llvm-dev@lists.llvm.org<br class="">
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev<br class="">
</blockquote>
<br class="">
<br class="">
_______________________________________________<br class="">
LLVM Developers mailing list<br class="">
llvm-dev@lists.llvm.org<br class="">
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev<br class="">
</blockquote>
</div>
</div>
</blockquote>
</div>
<br class="">
</body>
</html>