commit | 6dc8de7a0abc7df8295273694fd9b951ed33708f | [log] [tgz] |
---|---|---|
author | Matthias Springer <me@m-sp.org> | Sun Jun 23 19:05:00 2024 +0200 |
committer | GitHub <noreply@github.com> | Sun Jun 23 19:05:00 2024 +0200 |
tree | d3a49d65acc8121b07d6a934a0b82c0ec559e4a2 | |
parent | 48cf6b6bbe7a22bfcd98f82dc7afd21c9decd22f [diff] |
[mlir][memref] Improve `memref.subview` type inference (#96421) The `memref.subview` result type inference (`SubViewOp::inferResultType`) sometimes used to produce a dynamic offset when a static offset is possible. When a dynamic value (stride, size, etc.) is multiplied with zero, the result is always a "static 0". Based on this, the result type inference implementation can be improved to produce more static type information in memref types.
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.