commit | cbc2ac5db8ead660f1c264b6eb1e374665e4c152 | [log] [tgz] |
---|---|---|
author | jjasmine <jjasmine@igalia.com> | Thu Jul 03 03:01:36 2025 -0700 |
committer | GitHub <noreply@github.com> | Thu Jul 03 11:01:36 2025 +0100 |
tree | dc24bdafe4d5b6b9d2516c7ce22b92265a9f1b3d | |
parent | a17c598145b03a96346e3bdd0fbc20d4e8d69fd5 [diff] |
[WebAssembly] Fold TargetGlobalAddress with added offset (#145829) Previously we only folded TargetGlobalAddresses into the memarg if they were on their own, so this patch supports folding TargetGlobalAddresses that are added to some other offset. Previously we weren't able to do this because we didn't have nuw on the add, but we can now that getelementptr has nuw and is plumbed through to the add in 0564d0665b302d1c7861e03d2995612f46613a0f. Fixes #61930
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.