| commit | 862fb42b065dd01584f219994bc791f9d0a4c9b8 | [log] [tgz] |
|---|---|---|
| author | Maksim Shelegov <maksim.shelegov@intel.com> | Tue Aug 05 02:06:34 2025 +0200 |
| committer | GitHub <noreply@github.com> | Mon Aug 04 17:06:34 2025 -0700 |
| tree | 9345f5e81986c63f66e85607a3d825feeb3e983a | |
| parent | 04691aae0dd783162919c85aef5b8b143c0ca411 [diff] |
[AMDGPU][GlobalISel] Fix G_UNMERGE_VALUES combine (#141812) Fixes #139791. When trying to combine two G_UNMERGE_VALUES with a COPY between them, a crash occurs in tryCombineUnmergeValues() because getDefIndex() tries to find the index of the original source register in the def found by getDefIgnoringCopies(). In the case of a COPY in between, this register is not present in the def, only in the COPY.
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.