commit | 76b5fcbf975547251faaeed8b567ea09d139a607 | [log] [tgz] |
---|---|---|
author | Craig Topper <craig.topper@sifive.com> | Wed Apr 16 09:39:52 2025 -0700 |
committer | GitHub <noreply@github.com> | Wed Apr 16 09:39:52 2025 -0700 |
tree | 6647fe0b1405ace9733a1a2cc606f0de339a5247 | |
parent | 24171f4d12a02b49de1cc7a1beb2dc19c740a9f1 [diff] |
[TableGen] Store flat source operand number in OperandMap in PseudoLoweringEmitter. NFC (#135886) Previously we stored the index into the source CodeGenInstruction's operand list. Any operand with sub operands stored the same index into all of the OperandMap entries for that operand. The emitting loop would look up the MIOperandNo for the source and add the sub index. This patch moves the logic into the loop that updates the OperandMap. Now the emitting loop only needs to print the value. While there, I've added a check that MIOperandNo is the same for source and destination.
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.