commit | eb166030a1b40567b7a83658a692f0eab99dde13 | [log] [tgz] |
---|---|---|
author | Jacques Pienaar <jpienaar@google.com> | Fri Nov 03 15:30:09 2023 -0700 |
committer | Jacques Pienaar <jpienaar@google.com> | Fri Nov 03 15:30:10 2023 -0700 |
tree | 680e3577a49448598ec3bfb6a826951e8fc0f05d | |
parent | fc55068c0969fa83d894d46e14d4fdec05a30b2c [diff] |
[mlir] Expand default arg builders to wrapped attributes. Previously only unwrapped values were considered for default values in builders, expand to Attributes given the change to populate defaults. To avoid overlap between wrapped and unwrapped, the starting index is incremented depending on if the smallest starting index for default valued args can be materialized in unwrapped form or not. Given the above limitation this is pretty small change. `optional` is unfortunately meant to also represent conditionally set which means we cannot allow nullptr for all Attributes marked optional at the moment. Reviewed By: Mogball Differential Revision: https://reviews.llvm.org/D140705
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.