<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=""><br class=""><div><blockquote type="cite" class=""><div class="">On May 19, 2015, at 6:04 PM, Nick Lewycky <<a href="mailto:nlewycky@google.com" class="">nlewycky@google.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">What are the guarantees on it? Can I take .bc -> spir-V -> .bc and get identical .bc back?</span></div></blockquote><div><br class=""></div><div>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.</div><br class=""><blockquote type="cite" class=""><div class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">Can I take spir-V -> .bc -> spir-V and get identical spir-V back?</span></div></blockquote><div><br class=""></div><div>I would expect this to work as well.</div><br class=""></div><div>—Owen</div></body></html>