| commit | da17ced11b1cf44b433cb2b850978df4b6bff279 | [log] [tgz] |
|---|---|---|
| author | Justin Bogner <mail@justinbogner.com> | Mon Apr 14 10:34:15 2025 -0700 |
| committer | GitHub <noreply@github.com> | Mon Apr 14 10:34:15 2025 -0700 |
| tree | e5268078a672596cdd17399bef42cf0a27be2b02 | |
| parent | 3e644859470e9ba77b8365cc7e2b5234492f4c30 [diff] |
[DirectX] Use scalar arguments for @llvm.dx.dot intrinsics (#134570) The `dx.dot2`, `dot3`, and `dot4` intrinsics exist purely to lower `dx.fdot`, and they map exactly to the DXIL ops of the same name. Using vectors for their arguments adds unnecessary complexity and causes us to have vector operations that are not trivial to lower post-scalarizer. Similarly, the `dx.dot2add` intrinsic is overly generic for something that only needs to lower to a single `dot2AddHalf` DXIL op. Update its signature to match the operation it lowers to. Fixes #134569.
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.