| commit | 81f83a85db27600ef571299fc9dc88063dba4a6f | [log] [tgz] |
|---|---|---|
| author | Sam Elliott <aelliott@qti.qualcomm.com> | Sun Sep 21 22:28:24 2025 +0100 |
| committer | GitHub <noreply@github.com> | Sun Sep 21 14:28:24 2025 -0700 |
| tree | cc974e0dbbd6164027a285a211c1925efde9d8ae | |
| parent | 87a4e1ce3c0cfbc726a070717d0d5901289ee073 [diff] |
[RISCV][NFC] Parsed Immediates are Expressions (#159888) I find it very confusing that we have two different kinds of "immediates": - MCOperands in the backend that are `isImm()` which can only be numbers - RISCVOperands in the parser that are `isImm()` which can contain expressions This change aims to make it clearer that in the AsmParser, we are dealing with expressions, rather than just numbers. Unfortunately, `isImm` comes from the `MCParsedAsmOperand`, which is needed for Microsoft Inline Asm, so we cannot fully get rid of it.
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.