| commit | a6742094324d7166b451c749acf81d27a504c47b | [log] [tgz] |
|---|---|---|
| author | Elvis Wang <elvis.wang@sifive.com> | Thu Dec 12 09:26:19 2024 +0800 |
| committer | GitHub <noreply@github.com> | Thu Dec 12 09:26:19 2024 +0800 |
| tree | dc9bcb9ea068754d308df9ebd5c644a7e56409a5 | |
| parent | 44c05a627ffb4bdd63b477d2d74b2b6db2f87c74 [diff] |
[RISCV][TTI] Model the cost of insert/extractelt when the vector split into multiple register group and idx exceed single group. (#118401) This patch implements the cost when the size of the vector need to split into multiple groups and the index exceed single vector group. For extract element, we need to store split vectors to stack and load the target element. For insert element, we need to store split vectors to stack and store the target element and load vectors back. After this patch, the cost of insert/extract element will close to the generated assembly.
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.