commit | 3191cfd824771d75949b1ebf5e5fe9073b7fe746 | [log] [tgz] |
---|---|---|
author | Andy Kaylor <akaylor@nvidia.com> | Fri Apr 18 11:25:01 2025 -0700 |
committer | GitHub <noreply@github.com> | Fri Apr 18 11:25:01 2025 -0700 |
tree | ee484941a4772386f361ecd490a37f494a2aa796 | |
parent | cab75384af8b5638822475b2dd9020b7e879f1f5 [diff] |
[CIR] Upstream limited support for nested structures (#136331) Previously when we checked to see if it was safe to create CIR for a structure type, we were conservatively saying no if any structure was in the process of being converted. That prevented handling nested structures, even when it would have actually been safe to handle them. Handling structures which recursively reference structures currently being processed requires deferring the handling of the recursively referenced structure, and that still isn't implemented after this change. This change adds the less conservative check that allows handling of non-recursive nested structures.
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.