commit | f7a034d400860501a26e3429e1c6a9f310f07f76 | [log] [tgz] |
---|---|---|
author | Ana Mihajlovic <Ana.Mihajlovic@amd.com> | Fri Mar 28 11:20:17 2025 +0100 |
committer | GitHub <noreply@github.com> | Fri Mar 28 11:20:17 2025 +0100 |
tree | 35564571954c2ecd64a4e8b01e7ab74aea6d1cd0 | |
parent | 0d64f5adbaea173380668bc4280bb816bdb3a0de [diff] |
[AMDGPU] (x or y) xor -1 -> x nor y (#130264) Added pattern so s_nor is selected for ((i1 x or i1 y) xor -1) instead of s_or and s_xor . This patch is for i1 divergent. The ballot in the test is added for the retrieval of lanemask. The control flow is needed because the combiner can't pass through phi instructions.
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.