Revision tags: llvmorg-15.0.1 |
|
#
b22397fe |
| 09-Sep-2022 |
Aart Bik <ajcbik@google.com> |
[mlir][sparse] properly record dimension level type and properties
A next step towards supporting the new dimension level types and properties. This changes properly records the properties in the Me
[mlir][sparse] properly record dimension level type and properties
A next step towards supporting the new dimension level types and properties. This changes properly records the properties in the Merger, so that subsequent computations (lattice optimizations) and code generation (during sparsification) can do the right thing.
https://github.com/llvm/llvm-project/issues/51658
Reviewed By: Peiming
Differential Revision: https://reviews.llvm.org/D133620
show more ...
|
Revision tags: llvmorg-15.0.0, llvmorg-15.0.0-rc3 |
|
#
c8bb2354 |
| 17-Aug-2022 |
Jim Kitchen <jim22k@gmail.com> |
[mlir][sparse] Custom reduce with identity
Implement the new sparse_tensor.reduce operation which accepts a starting identity value and a code block describing how to perform the reduction.
Reviewe
[mlir][sparse] Custom reduce with identity
Implement the new sparse_tensor.reduce operation which accepts a starting identity value and a code block describing how to perform the reduction.
Reviewed by: aartbik
Differential Revision: https://reviews.llvm.org/D130573
show more ...
|
#
8dd07e36 |
| 11-Aug-2022 |
Aart Bik <ajcbik@google.com> |
[mlir][sparse] enable integral abs recognition
The end-to-end test for this new feature also exposed a bug in LLVM IR lowering (since then, fixed), where we need to account for the min-poison bit as
[mlir][sparse] enable integral abs recognition
The end-to-end test for this new feature also exposed a bug in LLVM IR lowering (since then, fixed), where we need to account for the min-poison bit as extra argument.
declare i32 @llvm.abs.i32(i32 <src>, i1 <is_int_min_poison>)
Reviewed By: bixia
Differential Revision: https://reviews.llvm.org/D131712
show more ...
|
#
60076a9e |
| 09-Aug-2022 |
Aart Bik <ajcbik@google.com> |
[mlir][sparse] fix switch statement bug on two binary ops
They appeared at the wrong place in the switch, treating them as unary op rather than binary op.
Reviewed By: bixia
Differential Revision:
[mlir][sparse] fix switch statement bug on two binary ops
They appeared at the wrong place in the switch, treating them as unary op rather than binary op.
Reviewed By: bixia
Differential Revision: https://reviews.llvm.org/D131509
show more ...
|
Revision tags: llvmorg-15.0.0-rc2, llvmorg-15.0.0-rc1, llvmorg-16-init |
|
#
66ae1d60 |
| 06-Jul-2022 |
Peiming Liu <peiming@google.com> |
[mlir][sparse] fix windows build error
Silence warning from MSVC when handling ##__VA_ARGS
Reviewed By: aartbik
Differential Revision: https://reviews.llvm.org/D129227
|
#
988d4f57 |
| 05-Jul-2022 |
Stella Stamenova <stilis@microsoft.com> |
Revert "[mlir][sparse] add more unittest cases to sparse dialect merger"
This broke the windows mlir bot: https://lab.llvm.org/buildbot/#/builders/13/builds/22743
This reverts commit daeb2dcea09820
Revert "[mlir][sparse] add more unittest cases to sparse dialect merger"
This broke the windows mlir bot: https://lab.llvm.org/buildbot/#/builders/13/builds/22743
This reverts commit daeb2dcea09820d92f81db84623cf1c6df825e14 and 537db49596f65a05c0309cf3333fc44f1657e999.
show more ...
|
#
537db495 |
| 01-Jul-2022 |
wren romano <2998727+wrengr@users.noreply.github.com> |
[mlir][sparse] Silencing some -Wunused-function in unittests
This is a followup to D128058.
Reviewed By: aartbik
Differential Revision: https://reviews.llvm.org/D129027
|
#
daeb2dce |
| 01-Jul-2022 |
Peiming Liu <peiming@google.com> |
[mlir][sparse] add more unittest cases to sparse dialect merger
Reviewed By: aartbik, wrengr
Differential Revision: https://reviews.llvm.org/D128058
|
Revision tags: llvmorg-14.0.6, llvmorg-14.0.5 |
|
#
06aa6ec8 |
| 07-Jun-2022 |
Aart Bik <ajcbik@google.com> |
[mlir][sparse] refactor handling of merger leafs and ops
Using "default:" in the switch statemements that handle all our merger ops has become a bit cumbersome since it is easy to overlook parts of
[mlir][sparse] refactor handling of merger leafs and ops
Using "default:" in the switch statemements that handle all our merger ops has become a bit cumbersome since it is easy to overlook parts of the code that need to handle ops specifically. By enforcing full switch statements without "default:", we get a compiler warning when cases are overlooked.
Reviewed By: wrengr
Differential Revision: https://reviews.llvm.org/D127263
show more ...
|
Revision tags: llvmorg-14.0.4, llvmorg-14.0.3, llvmorg-14.0.2, llvmorg-14.0.1, llvmorg-14.0.0, llvmorg-14.0.0-rc4, llvmorg-14.0.0-rc3, llvmorg-14.0.0-rc2, llvmorg-14.0.0-rc1, llvmorg-15-init |
|
#
6842ec42 |
| 26-Jan-2022 |
River Riddle <riddleriver@gmail.com> |
[mlir][NFC] Add a using for llvm::SMLoc/llvm::SMRange to LLVM.h
These are used pervasively during parsing.
Differential Revision: https://reviews.llvm.org/D118291
|
#
d10d49dc |
| 26-Jan-2022 |
River Riddle <riddleriver@gmail.com> |
[mlir][NFC] Add a using for llvm::BitVector to LLVM.h
BitVector is becoming widespread enough that we should add a proper using.
Differential Revision: https://reviews.llvm.org/D118290
|
Revision tags: llvmorg-13.0.1, llvmorg-13.0.1-rc3, llvmorg-13.0.1-rc2 |
|
#
4f415216 |
| 02-Jan-2022 |
Mehdi Amini <joker.eph@gmail.com> |
Apply clang-tidy fixes for performance-unnecessary-value-param to MLIR (NFC)
|
#
1fc096af |
| 02-Jan-2022 |
Mehdi Amini <joker.eph@gmail.com> |
Apply clang-tidy fixes for performance-unnecessary-value-param to MLIR (NFC)
Reviewed By: Mogball
Differential Revision: https://reviews.llvm.org/D116250
|
#
be0a7e9f |
| 07-Dec-2021 |
Mehdi Amini <joker.eph@gmail.com> |
Adjust "end namespace" comment in MLIR to match new agree'd coding style
See D115115 and this mailing list discussion: https://lists.llvm.org/pipermail/llvm-dev/2021-December/154199.html
Differenti
Adjust "end namespace" comment in MLIR to match new agree'd coding style
See D115115 and this mailing list discussion: https://lists.llvm.org/pipermail/llvm-dev/2021-December/154199.html
Differential Revision: https://reviews.llvm.org/D115309
show more ...
|
Revision tags: llvmorg-13.0.1-rc1, llvmorg-13.0.0, llvmorg-13.0.0-rc4, llvmorg-13.0.0-rc3, llvmorg-13.0.0-rc2, llvmorg-13.0.0-rc1, llvmorg-14-init |
|
#
123e8dfc |
| 13-Jul-2021 |
Aart Bik <ajcbik@google.com> |
[mlir][sparse] add support for std unary operations
Adds zero-preserving unary operators from std. Also adds xor. Performs minor refactoring to remove "zero" node, and pushed the irregular logic for
[mlir][sparse] add support for std unary operations
Adds zero-preserving unary operators from std. Also adds xor. Performs minor refactoring to remove "zero" node, and pushed the irregular logic for negi (not support in std) into one place.
Reviewed By: gussmith23
Differential Revision: https://reviews.llvm.org/D105928
show more ...
|
#
40843347 |
| 12-Jul-2021 |
Gus Smith <gusss@google.com> |
[mlir][sparse] Add Merger unit tests (with gcc5 build fix)
This is a fix of https://reviews.llvm.org/D104956, which broke the gcc5 build.
We opt to use unit tests rather than check tests as the lat
[mlir][sparse] Add Merger unit tests (with gcc5 build fix)
This is a fix of https://reviews.llvm.org/D104956, which broke the gcc5 build.
We opt to use unit tests rather than check tests as the lattice/merger code is a small C++ component with a well-defined API. Testing this API via check tests would be far less direct and readable. In addition, as the check tests will only be able to test the API indirectly, the tests may break based on unrelated changes; e.g. changes in linalg.
Reviewed By: aartbik
Differential Revision: https://reviews.llvm.org/D105828
show more ...
|
#
0d0cff3a |
| 08-Jul-2021 |
Gus Smith <gusss@google.com> |
[mlir][sparse] Add Merger unit tests
We opt to use unit tests rather than check tests as the lattice/merger code is a small C++ component with a well-defined API. Testing this API via check tests wo
[mlir][sparse] Add Merger unit tests
We opt to use unit tests rather than check tests as the lattice/merger code is a small C++ component with a well-defined API. Testing this API via check tests would be far less direct and readable. In addition, as the check tests will only be able to test the API indirectly, the tests may break based on unrelated changes; e.g. changes in linalg.
Reviewed By: aartbik
Differential Revision: https://reviews.llvm.org/D104956
show more ...
|