| commit | bdf270937b54b458eb7ef984196007437ee346e2 | [log] [tgz] |
|---|---|---|
| author | Leandro Lupori <leandro.lupori@linaro.org> | Thu Sep 04 13:03:12 2025 -0300 |
| committer | GitHub <noreply@github.com> | Thu Sep 04 13:03:12 2025 -0300 |
| tree | d9ca5eebb31ac40d5377c7509ce2a12e4d3daf06 | |
| parent | 698f39bc195905a84fdb696dfaa1cde006f7238f [diff] |
[flang] Add hlfir.char_trim operation (#156064) Fortran character trim is currently lowered directly into a runtime call, which makes it more complex to simplify expressions using it. With this patch trim is first lowered into an hlfir.char_trim operation, that is only later transformed into a runtime call. This makes it easier to remove unnecessary calls to trim, as proposed in #154593.
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.