[LLVMdev] Enhancing TableGen

David A. Greene greened at obbligato.org
Mon Oct 10 07:13:51 PDT 2011


Jakob Stoklund Olesen <stoklund at 2pi.dk> writes:

> On Oct 7, 2011, at 2:23 PM, David A. Greene wrote:
>
>     I have found several cases where Pat<> patterns
>     existed for some types of, say, add operation but not others, for no
>     apparent reason other than someone added one and forgot to add the
>     others.
>
> How about a tool for checking completeness and orthogonality of pattern sets?

Or how about just writing them once and have them apply to all relevant
instructions?

> A pattern coverage mode for isel would also be interesting.

Interesting.  Can you expand on your idea?  Coverage of what?

                                 -Dave




More information about the llvm-dev mailing list