(original) (raw)

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@lists.llvm.org> wrote:


\> On Jul 15, 2020, at 13:33, Rotate Right via llvm-dev <llvm-dev@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@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev