| commit | 492e8ba0384b038596e6b4a97313b7bdced5e868 | [log] [tgz] |
|---|---|---|
| author | Matthias Springer <me@m-sp.org> | Fri Feb 23 14:28:57 2024 +0100 |
| committer | GitHub <noreply@github.com> | Fri Feb 23 14:28:57 2024 +0100 |
| tree | f1ad90fb45f6428164762f1b80d1db66fcce0c2f | |
| parent | ad49fe3e89c3b3950956548f14cdb5c159ba0aec [diff] |
[mlir] Fix memory leaks after #81759 (#82762) This commit fixes memory leaks that were introduced by #81759. The way ops and blocks are erased changed slightly. The leaks were caused by an incorrect implementation of op builders: blocks must be created with the supplied builder object. Otherwise, they are not properly tracked by the dialect conversion and can leak during rollback.
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.