[llvm-dev] Use Global ISel or SelectionDAG

Francois Pichet via llvm-dev llvm-dev at lists.llvm.org
Mon Feb 17 09:29:59 PST 2020


Another thing to consider is that GlobalISel will report an error if your
target is big-endian.

On Thu, Feb 13, 2020 at 5:59 PM Matt Arsenault via llvm-dev <
llvm-dev at lists.llvm.org> wrote:

>
>
> > On Feb 13, 2020, at 17:08, floris westermann via llvm-dev <
> llvm-dev at lists.llvm.org> wrote:
> >
> > Hi llvm-dev,
> >
> > 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.
> > Should already start using this over the more common Selection DAG?
> > 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.
> >
> > Cheers,
> > Floris
>
> 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.
>
> -Matt
>
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20200217/764de62c/attachment.html>


More information about the llvm-dev mailing list