commit | 6d89c042e3f28c1c5b8fd1ac5512df7020c9739b | [log] [tgz] |
---|---|---|
author | Luke Lau <luke@igalia.com> | Fri Mar 07 01:05:53 2025 +0800 |
committer | GitHub <noreply@github.com> | Fri Mar 07 01:05:53 2025 +0800 |
tree | 42e32900c9caa6fe4f9af1c60398095bd3b7d050 | |
parent | cc98b35d0d7eaedbf003163bb401d6ffbd51d5da [diff] |
[VPlan] Remove dead AnyOf reduction case in VPReductionRecipe. NFCI (#130048) From what I understand, we only create VPReductionRecipes for in-loop reductions, and we don't currently support in-loop AnyOf reductions. We only create VPReductionRecipes in the !PhiR->isInLoop() section of adjustRecipesForReductions, and this comment from the initial patch seems to confirm this https://reviews.llvm.org/D108136#anchor-inline-1038338, so I think we can remove this check in the condition logic. I checked compiling SPEC 2017 with -prefer-inloop-predicates and the added assertion doesn't trigger.
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.