<feed xmlns='http://www.w3.org/2005/Atom'>
<title>llvm-project.git/mlir/lib/Dialect/Vector/VectorTransforms.cpp, branch main</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/'/>
<entry>
<title>[mlir][vector][NFC] Split into IR, Transforms and Utils</title>
<updated>2022-01-31T10:17:09+00:00</updated>
<author>
<name>Matthias Springer</name>
<email>springerm@google.com</email>
</author>
<published>2022-01-31T10:10:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=99ef9eebad51fbb5f73ffe747a529ea189f336b7'/>
<id>99ef9eebad51fbb5f73ffe747a529ea189f336b7</id>
<content type='text'>
This reduces the dependencies of the MLIRVector target and makes the dialect consistent with other dialects.

Differential Revision: https://reviews.llvm.org/D118533
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reduces the dependencies of the MLIRVector target and makes the dialect consistent with other dialects.

Differential Revision: https://reviews.llvm.org/D118533
</pre>
</div>
</content>
</entry>
<entry>
<title>Add vector.scan op</title>
<updated>2022-01-28T20:07:57+00:00</updated>
<author>
<name>harsh</name>
<email>harsh@nod-labs.com</email>
</author>
<published>2022-01-28T20:07:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=80e0bf1af11c0c7bd2a6261d83dcb18987cd7f11'/>
<id>80e0bf1af11c0c7bd2a6261d83dcb18987cd7f11</id>
<content type='text'>
This patch adds the vector.scan op which computes the
scan for a given n-d vector. It requires specifying the operator,
the identity element and whether the scan is inclusive or
exclusive.

TEST: Added test in ops.mlir

Reviewed By: ThomasRaoux

Differential Revision: https://reviews.llvm.org/D117171
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch adds the vector.scan op which computes the
scan for a given n-d vector. It requires specifying the operator,
the identity element and whether the scan is inclusive or
exclusive.

TEST: Added test in ops.mlir

Reviewed By: ThomasRaoux

Differential Revision: https://reviews.llvm.org/D117171
</pre>
</div>
</content>
</entry>
<entry>
<title>[mlir:Transforms] Move out the remaining non-dialect independent transforms and utilities</title>
<updated>2022-01-25T03:25:53+00:00</updated>
<author>
<name>River Riddle</name>
<email>riddleriver@gmail.com</email>
</author>
<published>2022-01-21T01:32:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=a70aa7bb0d9a6066831b339e0a09a2c1bc74fe2b'/>
<id>a70aa7bb0d9a6066831b339e0a09a2c1bc74fe2b</id>
<content type='text'>
This has been a major TODO for a very long time, and is necessary for establishing a proper
dialect-free dependency layering for the Transforms library. Code was moved to effectively
two main locations:

* Affine/
There was quite a bit of affine dialect related code in Transforms/ do to historical reasons
(of a time way into MLIR's past). The following headers were moved to:
Transforms/LoopFusionUtils.h -&gt; Dialect/Affine/LoopFusionUtils.h
Transforms/LoopUtils.h -&gt; Dialect/Affine/LoopUtils.h
Transforms/Utils.h -&gt; Dialect/Affine/Utils.h

The following transforms were also moved:
AffineLoopFusion, AffinePipelineDataTransfer, LoopCoalescing

* SCF/
Only one SCF pass was in Transforms/ (likely accidentally placed here): ParallelLoopCollapsing
The SCF specific utilities in LoopUtils have been moved to SCF/Utils.h

* Misc:
mlir::moveLoopInvariantCode was also moved to LoopLikeInterface.h given
that it is a simple utility defined in terms of LoopLikeOpInterface.

Differential Revision: https://reviews.llvm.org/D117848
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This has been a major TODO for a very long time, and is necessary for establishing a proper
dialect-free dependency layering for the Transforms library. Code was moved to effectively
two main locations:

* Affine/
There was quite a bit of affine dialect related code in Transforms/ do to historical reasons
(of a time way into MLIR's past). The following headers were moved to:
Transforms/LoopFusionUtils.h -&gt; Dialect/Affine/LoopFusionUtils.h
Transforms/LoopUtils.h -&gt; Dialect/Affine/LoopUtils.h
Transforms/Utils.h -&gt; Dialect/Affine/Utils.h

The following transforms were also moved:
AffineLoopFusion, AffinePipelineDataTransfer, LoopCoalescing

* SCF/
Only one SCF pass was in Transforms/ (likely accidentally placed here): ParallelLoopCollapsing
The SCF specific utilities in LoopUtils have been moved to SCF/Utils.h

* Misc:
mlir::moveLoopInvariantCode was also moved to LoopLikeInterface.h given
that it is a simple utility defined in terms of LoopLikeOpInterface.

Differential Revision: https://reviews.llvm.org/D117848
</pre>
</div>
</content>
</entry>
<entry>
<title>[mlir][vector] NFC - Split out transfer split patterns</title>
<updated>2022-01-05T13:38:04+00:00</updated>
<author>
<name>Nicolas Vasilache</name>
<email>ntv@google.com</email>
</author>
<published>2022-01-05T12:05:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=c7dd0bf41d8ee940893ae144cc0d813828c8233a'/>
<id>c7dd0bf41d8ee940893ae144cc0d813828c8233a</id>
<content type='text'>
Differential Revision: https://reviews.llvm.org/D116648
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Differential Revision: https://reviews.llvm.org/D116648
</pre>
</div>
</content>
</entry>
<entry>
<title>Apply clang-tidy fixes for performance-for-range-copy to MLIR (NFC)</title>
<updated>2022-01-02T22:19:56+00:00</updated>
<author>
<name>Mehdi Amini</name>
<email>joker.eph@gmail.com</email>
</author>
<published>2022-01-02T22:02:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=e4853be2f130c3e27f6c84fc4ad1d66d8b9a3810'/>
<id>e4853be2f130c3e27f6c84fc4ad1d66d8b9a3810</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix clang-tidy issues in mlir/ (NFC)</title>
<updated>2021-12-20T20:25:01+00:00</updated>
<author>
<name>Mehdi Amini</name>
<email>joker.eph@gmail.com</email>
</author>
<published>2021-12-20T19:45:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=02b6fb218e44490f3ea1597e35df1b1b66c6b869'/>
<id>02b6fb218e44490f3ea1597e35df1b1b66c6b869</id>
<content type='text'>
Reviewed By: ftynse

Differential Revision: https://reviews.llvm.org/D115956
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reviewed By: ftynse

Differential Revision: https://reviews.llvm.org/D115956
</pre>
</div>
</content>
</entry>
<entry>
<title>[mlir][linalg] Replace LinalgOps.h and LinalgTypes.h by a single header.</title>
<updated>2021-12-15T12:15:03+00:00</updated>
<author>
<name>gysit</name>
<email>gysit@google.com</email>
</author>
<published>2021-12-15T12:14:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=b7f2c108eb872b86e047d55353d8e75ab2458c2f'/>
<id>b7f2c108eb872b86e047d55353d8e75ab2458c2f</id>
<content type='text'>
After removing the range type, Linalg does not define any type. The revision thus consolidates the LinalgOps.h and LinalgTypes.h into a single Linalg.h header. Additionally, LinalgTypes.cpp is renamed to LinalgDialect.cpp to follow the convention adopted by other dialects such as the tensor dialect.

Depends On D115727

Reviewed By: nicolasvasilache

Differential Revision: https://reviews.llvm.org/D115728
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
After removing the range type, Linalg does not define any type. The revision thus consolidates the LinalgOps.h and LinalgTypes.h into a single Linalg.h header. Additionally, LinalgTypes.cpp is renamed to LinalgDialect.cpp to follow the convention adopted by other dialects such as the tensor dialect.

Depends On D115727

Reviewed By: nicolasvasilache

Differential Revision: https://reviews.llvm.org/D115728
</pre>
</div>
</content>
</entry>
<entry>
<title>[mlir][Vector] Support 0-D vectors in `CreateMaskOp`</title>
<updated>2021-12-12T13:32:29+00:00</updated>
<author>
<name>Nicolas Vasilache</name>
<email>nicolas.vasilache@gmail.com</email>
</author>
<published>2021-12-12T13:32:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=408553dd96792929b2468bcd2d8e4764ae7c2c9e'/>
<id>408553dd96792929b2468bcd2d8e4764ae7c2c9e</id>
<content type='text'>
The 0-D case gets lowered in almost the same way that the 1-D case does
in VectorCreateMaskOpConversion. I also had to slightly update the
verifier for the op to always require exactly 1 operand in the 0-D case.

Depends On D115220

Reviewed by: ftynse

Differential revision: https://reviews.llvm.org/D115221
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The 0-D case gets lowered in almost the same way that the 1-D case does
in VectorCreateMaskOpConversion. I also had to slightly update the
verifier for the op to always require exactly 1 operand in the 0-D case.

Depends On D115220

Reviewed by: ftynse

Differential revision: https://reviews.llvm.org/D115221
</pre>
</div>
</content>
</entry>
<entry>
<title>[mlir][vector] NFC move vector unroll/distribute patterns to their own file</title>
<updated>2021-12-10T22:00:13+00:00</updated>
<author>
<name>Thomas Raoux</name>
<email>thomasraoux@google.com</email>
</author>
<published>2021-12-10T20:18:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=f56933b2631c1258b1159eb25bf0dde82ce61c1b'/>
<id>f56933b2631c1258b1159eb25bf0dde82ce61c1b</id>
<content type='text'>
Differential Revision: https://reviews.llvm.org/D115548
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Differential Revision: https://reviews.llvm.org/D115548
</pre>
</div>
</content>
</entry>
<entry>
<title>Change the printing/parsing behavior for Attributes used in declarative assembly format</title>
<updated>2021-12-08T02:02:37+00:00</updated>
<author>
<name>Mehdi Amini</name>
<email>joker.eph@gmail.com</email>
</author>
<published>2021-12-08T01:24:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=ee0908703d2917d7310b71c5078fef44e8270317'/>
<id>ee0908703d2917d7310b71c5078fef44e8270317</id>
<content type='text'>
The new form of printing attribute in the declarative assembly is eliding the `#dialect.mnemonic` prefix to only keep the `&lt;....&gt;` part.

Differential Revision: https://reviews.llvm.org/D113873
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The new form of printing attribute in the declarative assembly is eliding the `#dialect.mnemonic` prefix to only keep the `&lt;....&gt;` part.

Differential Revision: https://reviews.llvm.org/D113873
</pre>
</div>
</content>
</entry>
</feed>
