<div dir="ltr">Adding -debug to a -gen-dag-isel run can also print useful information about the parsed patterns.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Jul 15, 2020 at 10:44 AM Matt Arsenault 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"><br>
<br>
> On Jul 15, 2020, at 13:33, Rotate Right via llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a>> wrote:<br>
> <br>
> Is there a backend to Tablegen which can dump a map of pattern-to-matched to instruction-to-be-generated? <br>
> --help doesn't seem to indicate anything like that.<br>
<br>
<br>
If you run tablgen with no arguments, it produces the fully expanded tablegen. You can directly view what ends up getting interpreted there<br>
<br>
-Matt<br>
_______________________________________________<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>