[llvm-dev] [Beginner] Understanding Tablegen language

Thomas Lively via llvm-dev llvm-dev at lists.llvm.org
Wed Jul 15 10:57:27 PDT 2020


Adding -debug to a -gen-dag-isel run can also print useful information
about the parsed patterns.

On Wed, Jul 15, 2020 at 10:44 AM Matt Arsenault via llvm-dev <
llvm-dev at lists.llvm.org> wrote:

>
>
> > On Jul 15, 2020, at 13:33, Rotate Right via llvm-dev <
> llvm-dev at lists.llvm.org> wrote:
> >
> > Is there a backend to Tablegen which can dump a map of
> pattern-to-matched to instruction-to-be-generated?
> > --help doesn't seem to indicate anything like that.
>
>
> If you run tablgen with no arguments, it produces the fully expanded
> tablegen. You can directly view what ends up getting interpreted there
>
> -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/20200715/11347526/attachment.html>


More information about the llvm-dev mailing list