<div dir="ltr"><div dir="ltr">On Tue, 2 Mar 2021 at 09:36, Trifunovic, Konrad via llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi all,<br>
<br>
We would like to propose this RFC for upstreaming a proper SPIR-V backend to LLVM:</blockquote><div><br></div><div>Hi,</div><div><br></div><div>Perhaps a parallel question: how does that integrate with MLIR's SPIRV back-end?</div><div><br></div><div>If this proposal goes through and we have a production-quality SPIRV back-end in LLVM, do we remove MLIR's own version and lower to LLVM, then to SPIRV? Or do we still need the MLIR version?</div><div><br></div><div>In a perfect world, translating to LLVM IR then to SPIRV shouldn't make a difference, but there could be some impedance mismatch between MLIR->LLVM lowering that isn't compatible with SPIRV?</div><div><br></div><div>But as a final goal, if SPIRV becomes an official LLVM target, it would be better if we could iron out the impedance problems and keep only one SPIRV backend.</div><div><br></div><div>cheers,</div><div>--renato</div></div></div>