<div dir="ltr">Hi Floris,<div><br></div><div>For a bachelor thesis I would probably recommend going with the safest choice of SelectionDAG. When I started doing LLVM development I was surprised by how common it is to have to solve LLVM issues that other architectures didn't happen to run into, despite me working on a very conventional target arch (RISC-V). You don't want to spend all your time budget on incidental problems that aren't core to your thesis. That said, GlobalISel is cool, so if you can make it work for you... ¯\_(ツ)_/¯<br></div><div><br></div><div>Alex Bradbury did some great work on creating a series of patches that show how to create the RISC-V target in a piecemeal and systematic way, so you might want to check that out:</div><div><br></div><div><a href="https://github.com/lowRISC/riscv-llvm">https://github.com/lowRISC/riscv-llvm</a></div><div><a href="https://github.com/lowRISC/riscv-llvm/tree/master/docs">https://github.com/lowRISC/riscv-llvm/tree/master/docs</a><br></div><div><br></div><div>Cheers,</div><div>Luis</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Feb 13, 2020 at 10:08 PM floris westermann via llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi llvm-dev,<div><br></div><div>I am currently writing a backend for an architecture I am designing in my bachelor's thesis and recently came across the GlobalISel Selection Framework. </div><div>Should already start using this over the more common Selection DAG?</div><div>Being new llvm backend development, I am not sure if GlobalISel would be "easier" to implement than ISelDAG and if there is any decent documentation on how to do so.</div><div><br></div><div>Cheers,</div><div>Floris</div><div><br></div></div>
_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a><br>
<a href="https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank">https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a><br>
</blockquote></div>