| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
[mlir][benchmark] Fix broken benchmark script (#68841) The mbr script was broken, so this patch fixes it to follow the latest python binding. | 2 年前 | |
[MLIR][Python] Update Nanobind Warnings List for clang-cl on Windows We recently moved over to compiling with clang-cl on Windows. This ended up causing a large increase in warnings, particularly due to how warnings are handled in nanobind. cd91d0fff9293a904704784c92c28637bfebef45 initially set -Wall -Wextra and -Wpedantic while fixing another issue, which is probably not what we want to do on third-party code. We also need to disable -Wmissing-field-initializers to get things clean in this configuration. Reviewers: makslevental, jpienaar, rkayaith Reviewed By: makslevental Pull Request: https://github.com/llvm/llvm-project/pull/166828 | 8 个月前 | |
[mlir][spirv] Add support for SwitchOp (#168713) The dialect implementation mostly copies the one of cf.switch, but aligns naming to the SPIR-V spec. | 8 个月前 | |
[MLIR][Python] make sure stubs get installed with LLVM_DISTRIBUTION_COMPONENTS (#168407) Fixes https://github.com/llvm/llvm-project/issues/168393. Also adds top-level MLIR_PYTHON_STUBGEN_ENABLED CMake option. | 8 个月前 | |
[Flang][OpenMP][MLIR] Initial declare target to for variables implementation (#119589) While the infrastructure for declare target to/enter and link for variables exists in the MLIR dialect and at the Flang level, the current lowering from MLIR -> LLVM IR isn't in place, it's only in place for variables that have the link clause applied. This PR aims to extend that lowering to an initial implementation that incorporates declare target to as well, which primarily requires changes in the OpenMPToLLVMIRTranslation phase. However, a minor addition to the OpenMP dialect was required to extend the declare target enumerator to include a default None field as well. This also requires a minor change to the Flang lowering's MapInfoFinlization.cpp pass to alter the map type for descriptors to deal with cases where a variable is marked declare to. Currently, when a descriptor variable is mapped declare target to the descriptor component can become attatched, and cannot be updated, this results in issues when an unusual allocation range is specified (effectively an off-by X error). The current solution is to map the descriptor always, as we always require an up-to-date version of this data. However, this also requires an interlinked PR that adds a more intricate type of mapping of structures/record types that clang currently implements, to circumvent the overwriting of the pointer in the descriptor. 3/3 required PRs to enable declare target to mapping, this PR should pass all tests and provide an all green CI. Co-authored-by: Raghu Maddhipatla raghu.maddhipatla@amd.com | 7 个月前 | |
[mlir][arith] Add support for sitofp, uitofp to ArithToAPFloat (#169284) Add support for arith.sitofp and arith.uitofp. | 7 个月前 | |
[MLIR][Python] remove PyYAML as a dep (#169145) PyYAML is not an actual use-time/runtime dependency of our bindings. It is necessary only if someone wants to regenerate LinalgNamedStructuredOps.yaml: https://github.com/llvm/llvm-project/blob/93097b2d47c87bf5eee0a2612d961c7a01831eab/mlir/tools/mlir-linalg-ods-gen/update_core_linalg_named_ops.sh.in#L29 This PR does the minimal refactor to remove the need during actual run/use time. | 8 个月前 | |
[mlir][arith] Add support for sitofp, uitofp to ArithToAPFloat (#169284) Add support for arith.sitofp and arith.uitofp. | 7 个月前 | |
[NFC][TableGen] Remove close member from various CodeGenHelpers (#167904) Always rely on local scopes to enforce the lifetime of these helper objects and by extension where the "closing" of various C++ code constructs happens. | 8 个月前 | |
[mlir][acc][flang] Introduce OpenACC interfaces for globals (#168614) Introduce two new OpenACC operation interfaces for identifying global variables and their address computations: - GlobalVariableOpInterface: Identifies operations that define global variables. Provides an isConstant() method to query whether the global is constant. - AddressOfGlobalOpInterface: Identifies operations that compute the address of a global variable. Provides a getSymbol() method to retrieve the symbol reference. This is being done in preparation for ACCImplicitDeclare pass which will automatically ensure that acc declare is applied to globals when needed. The following operations now implement these interfaces: - memref::GlobalOp implements GlobalVariableOpInterface - memref::GetGlobalOp implements AddressOfGlobalOpInterface - fir::GlobalOp implements GlobalVariableOpInterface - fir::AddrOfOp implements AddressOfGlobalOpInterface | 8 个月前 | |
[MLIR][Pygments] Refine the pygments MLIR lexer (#166406) Recently, the MLIR website added API documentation for the Python bindings generated via Sphinx ([https://mlir.llvm.org/python-bindings/](https://mlir.llvm.org/python-bindings/)). In [https://github.com/llvm/mlir-www/pull/245](https://github.com/llvm/mlir-www/pull/245), I introduced the Pygments lexer from the MLIR repository to enable syntax highlighting for MLIR code blocks in these API docs. However, since the existing Pygments lexer was fairly minimal, it didn’t fully handle all aspects of the MLIR syntax, leading to imperfect highlighting in some cases. In this PR, I used ChatGPT to rewrite the lexer by combining it with the TextMate grammar for MLIR ([https://github.com/llvm/llvm-project/blob/main/mlir/utils/textmate/mlir.json](https://github.com/llvm/llvm-project/blob/main/mlir/utils/textmate/mlir.json)). After some manual adjustments, the results look good—so I’m submitting this to improve the syntax highlighting experience in the Python bindings API documentation. | 8 个月前 | |
Enforce Unix line endings for Clang/LLVM/MLIR projects (#161460) Change top-level and LLVM/MLIR/Clang .clang-format files to enforce Unix line ending. | 9 个月前 | |
[mlir] Disable misc-const-correctness clang-tidy check. https://clang.llvm.org/extra/clang-tidy/checks/misc/const-correctness.html | 3 年前 | |
[MLIR][Python] make sure stubs get installed with LLVM_DISTRIBUTION_COMPONENTS (#168407) Fixes https://github.com/llvm/llvm-project/issues/168393. Also adds top-level MLIR_PYTHON_STUBGEN_ENABLED CMake option. | 8 个月前 | |
Add the Apache2 with LLVM exceptions license to MLIR It seems that every subproject has a license file instead of having a top-level one. | 6 年前 | |
maintainer change for xegpu (#163867) as title | 9 个月前 | |
mlir README.md: Fix the syntax | 6 年前 |
Multi-Level Intermediate Representation
See https://mlir.llvm.org/ for more information.