| commit | a9fee3127a6159ec6ca3ba1c7d1c329322985e20 | [log] [tgz] |
|---|---|---|
| author | Benjamin Maxwell <benjamin.maxwell@arm.com> | Sun Jan 04 09:53:58 2026 +0000 |
| committer | GitHub <noreply@github.com> | Sun Jan 04 09:53:58 2026 +0000 |
| tree | ff5323e46e62c7cbcf51d7fb663582f0028938e3 | |
| parent | 77be03dbdfc397ee408fc68ef4ab44f13f244666 [diff] |
[SDAG] Avoid crash when creating debug fragments for scalable vectors (#165233) Previously, we would crash in the SelectionDAGBuilder when attempting to create debug fragments for scalable vectors split across multiple registers. It does not seem like DW_OP_LLVM_fragment supports any notion of scalable type sizes. It takes both an offset and typesize as literals, with no indication of scalability (and it also does not seem to be considered in any of the places that handle DW_OP_LLVM_fragment). So the workaround here is to drop the debug info. Note: This is not usually an issue for IR that comes from the SVE ACLE, as we generally stick to using legal types there (that don't end up getting split). Workaround for: #161289
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.