<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bcm5719-llvm/mlir/test/Transforms, branch meklort-10.0.1</title>
<subtitle>Project Ortega BCM5719 LLVM</subtitle>
<id>https://git.raptorcs.com/git/bcm5719-llvm/atom?h=meklort-10.0.1</id>
<link rel='self' href='https://git.raptorcs.com/git/bcm5719-llvm/atom?h=meklort-10.0.1'/>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/'/>
<updated>2020-01-15T00:54:00+00:00</updated>
<entry>
<title>[mlir] : Fix ViewOp shape folder for identity affine maps</title>
<updated>2020-01-15T00:54:00+00:00</updated>
<author>
<name>Ahmed Taei</name>
<email>ataei@google.com</email>
</author>
<published>2020-01-14T21:18:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=ab035647061272b7efa39364c42e48972cebc0ab'/>
<id>urn:sha1:ab035647061272b7efa39364c42e48972cebc0ab</id>
<content type='text'>
Summary: Fix the ViewOpShapeFolder in case of no affine mapping associated with a Memref construct identity mapping.

Reviewers: nicolasvasilache

Subscribers: mehdi_amini, rriddle, jpienaar, burmako, shauheen, antiagainst, arpith-jacob, mgester, lucyrfox, liufengdb, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D72735
</content>
</entry>
<entry>
<title>[mlir] Change the syntax of AffineMapAttr and IntegerSetAttr to avoid conflicts with function types.</title>
<updated>2020-01-13T21:24:39+00:00</updated>
<author>
<name>River Riddle</name>
<email>riverriddle@google.com</email>
</author>
<published>2020-01-13T21:12:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=4268e4f4b84b85266426e99050d31ec63f3ce8aa'/>
<id>urn:sha1:4268e4f4b84b85266426e99050d31ec63f3ce8aa</id>
<content type='text'>
Summary: The current syntax for AffineMapAttr and IntegerSetAttr conflict with function types, making it currently impossible to round-trip function types(and e.g. FuncOp) in the IR. This revision changes the syntax for the attributes by wrapping them in a keyword. AffineMapAttr is wrapped with `affine_map&lt;&gt;` and IntegerSetAttr is wrapped with `affine_set&lt;&gt;`.

Reviewed By: nicolasvasilache, ftynse

Differential Revision: https://reviews.llvm.org/D72429
</content>
</entry>
<entry>
<title>[MLIR] Don't use SSA names directly for std.view canonicalization test</title>
<updated>2020-01-08T22:39:35+00:00</updated>
<author>
<name>Ahmed Taei</name>
<email>ataei@google.com</email>
</author>
<published>2020-01-08T20:28:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=f84d3200528a4aa1e8c7f2d3a9567f63f855b165'/>
<id>urn:sha1:f84d3200528a4aa1e8c7f2d3a9567f63f855b165</id>
<content type='text'>
Reviewers: rriddle, nicolasvasilache

Subscribers: mehdi_amini, jpienaar, burmako, shauheen, antiagainst, arpith-jacob, mgester, lucyrfox, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D72408
</content>
</entry>
<entry>
<title>Canonicalize static alloc followed by memref_cast and std.view</title>
<updated>2020-01-08T19:50:33+00:00</updated>
<author>
<name>Ahmed Taei</name>
<email>ataei@google.com</email>
</author>
<published>2020-01-08T01:46:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=1e25109f93ffe5b28b28a2359e69143b7fb4aa5f'/>
<id>urn:sha1:1e25109f93ffe5b28b28a2359e69143b7fb4aa5f</id>
<content type='text'>
Summary: Rewrite alloc, memref_cast, std.view into allo, std.view by droping memref_cast.

Reviewers: nicolasvasilache

Subscribers: mehdi_amini, rriddle, jpienaar, burmako, shauheen, antiagainst, arpith-jacob, mgester, lucyrfox, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D72379
</content>
</entry>
<entry>
<title>Add integer bit-shift operations to the standard dialect.</title>
<updated>2019-12-22T18:02:13+00:00</updated>
<author>
<name>Manuel Freiberger</name>
<email>manuel.freiberger@gmail.com</email>
</author>
<published>2019-12-22T18:01:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=22954a0e408afde1d8686dffb3a3dcab107a2cd3'/>
<id>urn:sha1:22954a0e408afde1d8686dffb3a3dcab107a2cd3</id>
<content type='text'>
Rename the 'shlis' operation in the standard dialect to 'shift_left'. Add tests
for this operation (these have been missing so far) and add a lowering to the
'shl' operation in the LLVM dialect.

Add also 'shift_right_signed' (lowered to LLVM's 'ashr') and 'shift_right_unsigned'
(lowered to 'lshr').

The original plan was to name these operations 'shift.left', 'shift.right.signed'
and 'shift.right.unsigned'. This works if the operations are prefixed with 'std.'
in MLIR assembly. Unfortunately during import the short form is ambigous with
operations from a hypothetical 'shift' dialect. The best solution seems to omit
dots in standard operations for now.

Closes tensorflow/mlir#226

PiperOrigin-RevId: 286803388
</content>
</entry>
<entry>
<title>fix isValidDim for block arg case</title>
<updated>2019-12-20T17:44:03+00:00</updated>
<author>
<name>Uday Bondhugula</name>
<email>uday@polymagelabs.com</email>
</author>
<published>2019-12-20T17:43:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=e5691c512f7335fe90093bb9989da1760d80701b'/>
<id>urn:sha1:e5691c512f7335fe90093bb9989da1760d80701b</id>
<content type='text'>
- a block argument associated with an arbitrary op can't be a valid
  dimensional identifier; it has to be the block argument of either
  a function op or an affine.for.

Signed-off-by: Uday Bondhugula &lt;uday@polymagelabs.com&gt;

Closes tensorflow/mlir#331

COPYBARA_INTEGRATE_REVIEW=https://github.com/tensorflow/mlir/pull/331 from bondhugula:valid_dim 3273b4fcbaa31fb7b6671d93c9e42a6b2a6a4e4c
PiperOrigin-RevId: 286593693
</content>
</entry>
<entry>
<title>Introduce prefetch op: affine -&gt; std -&gt; llvm intrinsic</title>
<updated>2019-12-18T18:00:04+00:00</updated>
<author>
<name>Uday Bondhugula</name>
<email>uday@polymagelabs.com</email>
</author>
<published>2019-12-18T17:59:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=47034c4bc509f727051ff172c2bf3367a60e2c01'/>
<id>urn:sha1:47034c4bc509f727051ff172c2bf3367a60e2c01</id>
<content type='text'>
Introduce affine.prefetch: op to prefetch using a multi-dimensional
subscript on a memref; similar to affine.load but has no effect on
semantics, but only on performance.

Provide lowering through std.prefetch, llvm.prefetch and map to llvm's
prefetch instrinsic. All attributes reflected through the lowering -
locality hint, rw, and instr/data cache.

  affine.prefetch %0[%i, %j + 5], false, 3, true : memref&lt;400x400xi32&gt;

Signed-off-by: Uday Bondhugula &lt;uday@polymagelabs.com&gt;

Closes tensorflow/mlir#225

COPYBARA_INTEGRATE_REVIEW=https://github.com/tensorflow/mlir/pull/225 from bondhugula:prefetch 4c3b4e93bc64d9a5719504e6d6e1657818a2ead0
PiperOrigin-RevId: 286212997
</content>
</entry>
<entry>
<title>Try to fold operations in DialectConversion when trying to legalize.</title>
<updated>2019-12-14T00:47:26+00:00</updated>
<author>
<name>River Riddle</name>
<email>riverriddle@google.com</email>
</author>
<published>2019-12-13T20:21:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=b030e4a4ec5ef47549377cc0af71a95abcf28a98'/>
<id>urn:sha1:b030e4a4ec5ef47549377cc0af71a95abcf28a98</id>
<content type='text'>
This change allows for DialectConversion to attempt folding as a mechanism to legalize illegal operations. This also expands folding support in OpBuilder::createOrFold to generate new constants when folding, and also enables it to work in the context of a PatternRewriter.

PiperOrigin-RevId: 285448440
</content>
</entry>
<entry>
<title>More affine expr simplifications for floordiv and mod</title>
<updated>2019-12-11T00:00:53+00:00</updated>
<author>
<name>Uday Bondhugula</name>
<email>uday@polymagelabs.com</email>
</author>
<published>2019-12-10T23:49:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=36a415bcc543553891af6809c5256e6e2469357d'/>
<id>urn:sha1:36a415bcc543553891af6809c5256e6e2469357d</id>
<content type='text'>
Add one more simplification for floordiv and mod affine expressions.
Examples:
 (2*d0 + 1) floordiv 2 is simplified to d0
 (8*d0 + 4*d1 + d2) floordiv 4 simplified to 4*d0 + d1 + d2 floordiv 4.
 etc.

 Similarly, (4*d1 + 1) mod 2 is simplified to 1,
            (2*d0 + 8*d1) mod 8 simplified to 2*d0 mod 8.

Change getLargestKnownDivisor to return int64_t to be consistent and
to avoid casting at call sites (since the return value is used in expressions
of int64_t/index type).

Signed-off-by: Uday Bondhugula &lt;uday@polymagelabs.com&gt;

Closes tensorflow/mlir#202

COPYBARA_INTEGRATE_REVIEW=https://github.com/tensorflow/mlir/pull/202 from bondhugula:affine b13fcb2f1c00a39ca5434613a02408e085a80e77
PiperOrigin-RevId: 284866710
</content>
</entry>
<entry>
<title>Minor spelling tweaks</title>
<updated>2019-12-09T17:23:48+00:00</updated>
<author>
<name>Kazuaki Ishizaki</name>
<email>ishizaki@jp.ibm.com</email>
</author>
<published>2019-12-09T17:23:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=ae05cf27c62ad7f656f9ac1bf76d5bfe6fec81b6'/>
<id>urn:sha1:ae05cf27c62ad7f656f9ac1bf76d5bfe6fec81b6</id>
<content type='text'>
Closes tensorflow/mlir#304

PiperOrigin-RevId: 284568358
</content>
</entry>
</feed>
