| commit | 337a4d5526618c7c16f20967f7bd10d1cf27c6c4 | [log] [tgz] |
|---|---|---|
| author | Justin Lebar <justin.lebar@gmail.com> | Thu Apr 10 11:13:33 2025 -0700 |
| committer | GitHub <noreply@github.com> | Thu Apr 10 11:13:33 2025 -0700 |
| tree | a140d78cc0d71db5a36f5066ae7557b77fd54a9f | |
| parent | 6ca9a30c26641ac5f836cf794bed01ff61972f37 [diff] |
[NVPTX] Use sink registers instead of temp registers where possible. (#134957) PTX 7.1 introduces the concept of a "sink" register, `_`, which is a register to which writes are ignored. This patch makes us use sink registers where possible, instead of using explicit temp registers. This results in cleaner assembly, and also works around a problem we encountered in some private workloads. (Unfortunately the tablegen is not particularly clean. But then again, it's tablegen...)
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.