commit | b9ce185d4e542dde5e8d152f30314b6637a0d87b | [log] [tgz] |
---|---|---|
author | Robert Konicar <rkonicar@mail.muni.cz> | Wed Apr 16 11:49:19 2025 +0200 |
committer | GitHub <noreply@github.com> | Wed Apr 16 11:49:19 2025 +0200 |
tree | a6bfa79282df5e22beef27e377cbf6454c7457e2 | |
parent | 1f96aea037e612d87b4e2e20825973e45680921c [diff] |
[MLIR][LLVM] Fix #llvm.constant_range crashing in storage uniquer (#135772) Add APIntParameter with custom implementation for comparison and use it in llvm.constant_range attribute. This is necessary because the default equality operator of APInt asserts when the bit widths of the compared APInts differ. The comparison is used by StorageUniquer when hashes of two ranges with different bit widths collide.
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.