| commit | d32509928ba6b4c78b02b8a8499dce056ae6fe52 | [log] [tgz] |
|---|---|---|
| author | Craig Topper <craig.topper@sifive.com> | Sun Dec 22 13:26:42 2024 -0800 |
| committer | Craig Topper <craig.topper@sifive.com> | Sun Dec 22 13:31:33 2024 -0800 |
| tree | bb619f49e2ce7ea3dd43348c7aa5c2d27387e207 | |
| parent | 392651a7ec250b82cecabbe9c765c3e5d5677d75 [diff] |
[RISCV] Rewrite an isel pattern to make it more amenable to GISel. NFC The result pattern created an i1 constant and then used ImmSubFromXLen SDNodeXForm on it. GISel cannot handle this construct the same way as SelectionDAG. The GISel equivalent of the SDNodeXForm expects a G_CONSTANT, but the emitter can't create that. Work aound this by splitting the pattern into RV32 and RV64 versions and hard coding the constant. Additional changes are needed to import the pattern for GISel so there's no test.
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.