[LLVMbugs] [Bug 18835] New: backend writers guide lacks lots of information about patterns

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Feb 14 03:31:22 PST 2014


http://llvm.org/bugs/show_bug.cgi?id=18835

            Bug ID: 18835
           Summary: backend writers guide lacks lots of information about
                    patterns
           Product: Documentation
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: General docs
          Assignee: unassignedbugs at nondot.org
          Reporter: hkultala at cs.tut.fi
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

It seems that there are tons of undocumented features in the isel patterns,
and backends such as X86, ARM and PowerPC use these features.

But there seems to be no documentation about all the features and syntax of the
patterns.

Things like 
1) PatLeaf, 
2) PatFrag,
3) ImmLeaf,
4) how to insert custom C++ code into pattern
5) multiclass

are not documented.

Also there does not seem to be a reference of the ISEL DAG Nodes anywhere?
ISDOpcodes.h contains some information in comments, but also those comments are
somewhat lacking.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20140214/bca0495d/attachment.html>


More information about the llvm-bugs mailing list