commit | 3138f6cc8c3378731aad966bf63cb5d54fb9e2ea | [log] [tgz] |
---|---|---|
author | Peng Chen <pchen7e2@gmail.com> | Wed May 14 13:09:48 2025 -0700 |
committer | GitHub <noreply@github.com> | Wed May 14 22:09:48 2025 +0200 |
tree | f406df8ba7d19513d6203b0dcca1ec028d5cb746 | |
parent | 5ee67ee6bc45979eb81b087c6a700573e2ab61db [diff] |
[MLIR] Generate cpp comments for TableGen summary and description (#139606) This commit takes the `summary` and `description` of TableGen files and generate a cpp comments on top of the declarations of generated cpp classes. The main motivation is to improve the developer experience. When people work on compilers from an IDE, they will be able to hover over the symbols (e.g. `"ADialect::BOp"`) in their cpp code and see the summary and descriptions without having to referring to the `.td` files.
Welcome to the LLVM project!
This repository contains the source code for LLVM, a toolkit for the construction of highly optimized compilers, optimizers, and run-time environments.
The LLVM project has multiple components. The core of the project is itself called “LLVM”. This contains all of the tools, libraries, and header files needed to process intermediate representations and convert them into object files. Tools include an assembler, disassembler, bitcode analyzer, and bitcode optimizer.
C-like languages use the Clang frontend. This component compiles C, C++, Objective-C, and Objective-C++ code into LLVM bitcode -- and from there into object files, using LLVM.
Other components include: the libc++ C++ standard library, the LLD linker, and more.
Consult the Getting Started with LLVM page for information on building and running LLVM.
For information on how to contribute to the LLVM project, please take a look at the Contributing to LLVM guide.
Join the LLVM Discourse forums, Discord chat, LLVM Office Hours or Regular sync-ups.
The LLVM project has adopted a code of conduct for participants to all modes of communication within the project.