commit | e8a2ce1e9c9db26f2adf4ea6c65eea0299d3a211 | [log] [tgz] |
---|---|---|
author | Jonathan Thackray <jonathan.thackray@arm.com> | Mon May 19 17:15:03 2025 +0100 |
committer | GitHub <noreply@github.com> | Mon May 19 17:15:03 2025 +0100 |
tree | 1aeb58d62f86e12cbaed2a3fa23ae6dd0de40ccf | |
parent | 35a9631279268b6d3d0f0826da0c09e78db6529a [diff] |
[AArch64] When printing SYS aliases, use explicit `NeedsReg` flag from tablegen (NFC) (#140484) Currently, when printing SYS aliases, the first instruction operand is compared with the string constant "all" to decide if a register needs to be parsed as the next operand. For example, `TLBI VMALLE1IS` contains "all" so no register is expected, but `TLBI IPAS2E1IS` doesn't match, so a register is expected. Future AArch64 SYS aliases won't always match this pattern, so use the (already provided) explicit `NeedsReg` bit flag provided in tablegen to check if a register is required to be parsed. This is already used by the code in `AArch64InstPrinter.cpp`, so now we are consistent in this source file too. No test files have been changed, since this is a non-functional change, and all AArch64 test cases continue to pass after this change.
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.