commit | 7f27482a32180def47c71f490501ea0e560bfa9f | [log] [tgz] |
---|---|---|
author | Krzysztof Drewniak <Krzysztof.Drewniak@amd.com> | Mon Aug 18 13:32:54 2025 -0400 |
committer | GitHub <noreply@github.com> | Mon Aug 18 12:32:54 2025 -0500 |
tree | 9275d1184fdf778bea2bc410f7c4628fcae6f173 | |
parent | 99829573cc8460782e4f10713ef24d5af9f82036 [diff] |
[AMDGPU][LowerBufferFatPointers] Fix lack of rewrite when loading/storing null (#154128) Fixes #154056. The fat buffer lowering pass was erroniously detecting that it did not need to run on functions that only load/store to the null constant (or other such constants). We thought this would be covered by specializing constants out to instructions, but that doesn't account foc trivial constants like null. Therefore, we check the operands of instructions for buffer fat pointers in order to find such constants and ensure the pass runs. --------- Co-authored-by: Nikita Popov <github@npopov.com>
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.