| commit | cd86b2ab32bb2c444fb48e41a40f43c80a7eaeae | [log] [tgz] |
|---|---|---|
| author | Vikash Gupta <Vikash.Gupta@amd.com> | Wed Dec 03 13:56:15 2025 +0530 |
| committer | GitHub <noreply@github.com> | Wed Dec 03 13:56:15 2025 +0530 |
| tree | f9c50c69d3f0717e867c527f76642628f6e5b78c | |
| parent | ae4289f0e6e1bf61f45f88870aec220c9164800b [diff] |
[CodeGen] Add MO_LaneMask type and a new COPY_LANEMASK instruction (#151944) Introduce MO_LaneMask as new machine operand type. This can be used to hold liveness infomation at sub-register granularity for register-type operands. We also introduce a new COPY_LANEMASK instruction that uses MO_lanemask operand to perform partial copy from source register opernad. One such use case of MO_LaneMask can be seen in #151123, where it can be used to store live regUnits information corresponding to the source register of the COPY instructions, later can be used during CopyPhysReg expansion.
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.