[LLVMdev] [RFC] Upstreaming LLVM/SPIR-V converter

Owen Anderson
Wed, 20 May 2015 07:21:54 -0000

> On May 19, 2015, at 6:04 PM, Nick Lewycky <nlewycky at google.com>
wrote:
>
> What are the guarantees on it? Can I take .bc -> spir-V -> .bc and
get identical .bc back?

For the subset of LLVM IR that is representable in SPIR-V, I would expect this
to work.  Given that SPIR-V is specialized for representing a particular kind of
programming model, that seems completely reasonable to me.

> Can I take spir-V -> .bc -> spir-V and get identical spir-V back?

I would expect this to work as well.

—Owen
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.llvm.org/pipermail/llvm-dev/attachments/20150520/3c0ccffa/attachment.html>