| commit | 98aa8439f5e05cecdf232f303842be3c07d72547 | [log] [tgz] |
|---|---|---|
| author | Valery Pykhtin <valery.pykhtin@gmail.com> | Fri Jun 09 13:40:37 2023 +0200 |
| committer | Valery Pykhtin <valery.pykhtin@gmail.com> | Thu Jul 06 08:48:45 2023 +0200 |
| tree | 786c747a3b491f181da61bccf6a4c82398a20ee9 | |
| parent | 893cc970076caf9bb05dd4cc0360b7cab013e6b9 [diff] |
[AMDGPU] Fix register class for a subreg in GCNRewritePartialRegUses. 1. Improved code that deduces register class from instruction definitions. Previously if some instruction didn't contain a reg class for an operand it was considered as no information on register class even if other instructions specified the class. 2. Added check on required size of resulting register because in some cases classes with smaller registers had been selected (for example VReg_1). Reviewed By: arsenm, #amdgpu Differential Revision: https://reviews.llvm.org/D152832
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, or #llvm IRC channel on OFTC.
The LLVM project has adopted a code of conduct for participants to all modes of communication within the project.