<div dir="auto"><div>Hi matt,<div dir="auto">Thanks for your advice, ill stick to SelectionDAG then, since my target isn't that strange and I'll have more examples to look at.</div><div dir="auto"><br></div><div dir="auto">Cheers,</div><div dir="auto">Floris</div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Feb 13, 2020, 11:59 PM Matt Arsenault <<a href="mailto:arsenm2@gmail.com">arsenm2@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
<br>
> On Feb 13, 2020, at 17:08, floris westermann via llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org" target="_blank" rel="noreferrer">llvm-dev@lists.llvm.org</a>> wrote:<br>
> <br>
> Hi llvm-dev,<br>
> <br>
> 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. <br>
> Should already start using this over the more common Selection DAG?<br>
> 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.<br>
> <br>
> Cheers,<br>
> Floris<br>
<br>
I think it depends on how much you care about optimization, how weird your target is, and how long you plan to maintain it. If you don’t care about optimization, and have a very strange target, you would probably be better off with GlobalISel. There will be fewer examples to work with however.<br>
<br>
-Matt<br>
<br>
</blockquote></div></div></div>