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

Owen Anderson resistor at mac.com
Wed May 20 00:21:54 PDT 2015


> 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>


More information about the llvm-dev mailing list