commit | d34437e9e17be59a5b9da1937fec21886779885b | [log] [tgz] |
---|---|---|
author | Philip Reames <preames@rivosinc.com> | Thu Apr 10 02:29:04 2025 -0700 |
committer | GitHub <noreply@github.com> | Thu Apr 10 02:29:04 2025 -0700 |
tree | aad71b725de4a1fc9728a2fa9566aff08e5607fa | |
parent | d9cfd905248a7ef74826576978348600a372af5f [diff] |
[RISCV] Recognize a zipeven/zipodd requiring larger SEW (#134923) This is a follow up to f8ee58a3c, and improves code generation for the XRivosVizip extension. If we have a slide pair which could be a zipeven or zipodd if the shuffle was widened, widen the shuffle and then mask the zipeven or zipodd. This is basically working around an order of matching issue; we match the slide pair variants before trying widening. I considered whether we should just widen slide pairs without any consideration of the zip idioms, but the resulting codegen changes look mostly like churn, and have no clear evidence of profitability.
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.