commit | 110ec1863af6a54d0cb646ca93867aec9f1e8fdc | [log] [tgz] |
---|---|---|
author | Ramkumar Ramachandra <Ramkumar.Ramachandra@imgtec.com> | Mon Jul 24 17:55:05 2023 +0100 |
committer | Ramkumar Ramachandra <Ramkumar.Ramachandra@imgtec.com> | Wed Jul 26 14:15:26 2023 +0100 |
tree | cf493d4d5734d4d71c1a06923ebe206aad8b85be | |
parent | f57fb82e0f90b4c667a0d044c14d9deaa22d3a99 [diff] |
LoopVectorize/iv-select-cmp: add test for decreasing IV, const start The most straightforward extension to D150851 would involve a loop with decreasing induction variable, with a constant start value. iv-select-cmp.ll only contains a negative test for the decreasing induction variable case when the start value is variable, namely not_vectorized_select_decreasing_induction_icmp. Hence, add a test for the most straightforward extension to D150851, in preparation to vectorize: long rdx = 331; for (long i = 19999; i >= 0; i--) { if (a[i] > 3) rdx = i; } return rdx; Differential Revision: https://reviews.llvm.org/D156152
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, or #llvm IRC channel on OFTC.
The LLVM project has adopted a code of conduct for participants to all modes of communication within the project.