<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/llvm.git/flang/lib, branch EmptyLineAfterFunctionDefinition</title>
<subtitle>github.com: llvm/llvm-project.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/llvm.git/'/>
<entry>
<title>[fir] Add fir.constc conversion</title>
<updated>2021-11-18T08:46:10+00:00</updated>
<author>
<name>Diana Picus</name>
<email>diana.picus@linaro.org</email>
</author>
<published>2021-11-16T09:07:51+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/llvm.git/commit/?id=e81d73ed92336c607ac7c2aeec75f5cec873f2d1'/>
<id>e81d73ed92336c607ac7c2aeec75f5cec873f2d1</id>
<content type='text'>
Add the codegen for fir.constc.

This patch is part of the upstreaming effort from fir-dev.

Differential Revision: https://reviews.llvm.org/D114063

Co-authored-by: Eric Schweitz &lt;eschweitz@nvidia.com&gt;
Co-authored-by: Jean Perier &lt;jperier@nvidia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add the codegen for fir.constc.

This patch is part of the upstreaming effort from fir-dev.

Differential Revision: https://reviews.llvm.org/D114063

Co-authored-by: Eric Schweitz &lt;eschweitz@nvidia.com&gt;
Co-authored-by: Jean Perier &lt;jperier@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[mlir] Convert NamedAttribute to be a class</title>
<updated>2021-11-18T05:39:29+00:00</updated>
<author>
<name>River Riddle</name>
<email>riddleriver@gmail.com</email>
</author>
<published>2021-11-18T05:23:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/llvm.git/commit/?id=0c7890c844fdc7adb6d0cf58403e3fdd7407915d'/>
<id>0c7890c844fdc7adb6d0cf58403e3fdd7407915d</id>
<content type='text'>
NamedAttribute is currently represented as an std::pair, but this
creates an extremely clunky .first/.second API. This commit
converts it to a class, with better accessors (getName/getValue)
and also opens the door for more convenient API in the future.

Differential Revision: https://reviews.llvm.org/D113956
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
NamedAttribute is currently represented as an std::pair, but this
creates an extremely clunky .first/.second API. This commit
converts it to a class, with better accessors (getName/getValue)
and also opens the door for more convenient API in the future.

Differential Revision: https://reviews.llvm.org/D113956
</pre>
</div>
</content>
</entry>
<entry>
<title>[flang] Deal with negative character lengths in semantics</title>
<updated>2021-11-17T17:49:15+00:00</updated>
<author>
<name>Peter Klausler</name>
<email>pklausler@nvidia.com</email>
</author>
<published>2021-11-15T21:04:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/llvm.git/commit/?id=78d60094c741ef96927424ad92d4ffcf4b025531'/>
<id>78d60094c741ef96927424ad92d4ffcf4b025531</id>
<content type='text'>
Fortran defines LEN(X) = 0 after CHARACTER(LEN=-1)::X so
apply MAX(0, ...) to character length expressions.

Differential Revision: https://reviews.llvm.org/D114030
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fortran defines LEN(X) = 0 after CHARACTER(LEN=-1)::X so
apply MAX(0, ...) to character length expressions.

Differential Revision: https://reviews.llvm.org/D114030
</pre>
</div>
</content>
</entry>
<entry>
<title>[flang] Check ArrayRef base for contiguity in IsSimplyContiguousHelper</title>
<updated>2021-11-17T17:18:58+00:00</updated>
<author>
<name>Jean Perier</name>
<email>jperier@nvidia.com</email>
</author>
<published>2021-11-17T17:18:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/llvm.git/commit/?id=394d6fcf3eb98f99045df506e587ac7cbf15e7a4'/>
<id>394d6fcf3eb98f99045df506e587ac7cbf15e7a4</id>
<content type='text'>
Previous code was returning true for `x(:)` where x is a pointer without
the contiguous attribute.
In case the array ref is a whole array section, check the base for contiguity
to solve the issue.

Differential Revision: https://reviews.llvm.org/D114084
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Previous code was returning true for `x(:)` where x is a pointer without
the contiguous attribute.
In case the array ref is a whole array section, check the base for contiguity
to solve the issue.

Differential Revision: https://reviews.llvm.org/D114084
</pre>
</div>
</content>
</entry>
<entry>
<title>[fir] !fir.tdesc type conversion</title>
<updated>2021-11-17T12:31:14+00:00</updated>
<author>
<name>Valentin Clement</name>
<email>clementval@gmail.com</email>
</author>
<published>2021-11-17T12:30:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/llvm.git/commit/?id=964536cf04e29ebc125cdb44484e2c2cd8e0bd9b'/>
<id>964536cf04e29ebc125cdb44484e2c2cd8e0bd9b</id>
<content type='text'>
Add !fir.tdesc type conversion.
!fir.tdesc is converted to a llvm.ptr&lt;i8&gt;.

This patch is part of the upstreaming effort from fir-dev branch.

Reviewed By: kiranchandramohan

Differential Revision: https://reviews.llvm.org/D113769

Co-authored-by: Eric Schweitz &lt;eschweitz@nvidia.com&gt;
Co-authored-by: Jean Perier &lt;jperier@nvidia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add !fir.tdesc type conversion.
!fir.tdesc is converted to a llvm.ptr&lt;i8&gt;.

This patch is part of the upstreaming effort from fir-dev branch.

Reviewed By: kiranchandramohan

Differential Revision: https://reviews.llvm.org/D113769

Co-authored-by: Eric Schweitz &lt;eschweitz@nvidia.com&gt;
Co-authored-by: Jean Perier &lt;jperier@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[fir] Add fir.box_tdesc conversion</title>
<updated>2021-11-17T11:02:48+00:00</updated>
<author>
<name>Valentin Clement</name>
<email>clementval@gmail.com</email>
</author>
<published>2021-11-17T11:01:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/llvm.git/commit/?id=e38ef2ff711ca1aa68c541e973e68fbbb8efc575'/>
<id>e38ef2ff711ca1aa68c541e973e68fbbb8efc575</id>
<content type='text'>
This patch adds the conversion pattern for
`fir.box_tdes`.

This patch is part of the upstreaming effort from fir-dev branch.

Reviewed By: kiranchandramohan

Differential Revision: https://reviews.llvm.org/D113931

Co-authored-by: Eric Schweitz &lt;eschweitz@nvidia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch adds the conversion pattern for
`fir.box_tdes`.

This patch is part of the upstreaming effort from fir-dev branch.

Reviewed By: kiranchandramohan

Differential Revision: https://reviews.llvm.org/D113931

Co-authored-by: Eric Schweitz &lt;eschweitz@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[fir] Add conversion patterns for slice, shape, shapeshift and shift ops</title>
<updated>2021-11-17T09:35:56+00:00</updated>
<author>
<name>Valentin Clement</name>
<email>clementval@gmail.com</email>
</author>
<published>2021-11-17T09:34:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/llvm.git/commit/?id=1ed5a90f70eb04997a27026dfc2d9cae1d8cfa75'/>
<id>1ed5a90f70eb04997a27026dfc2d9cae1d8cfa75</id>
<content type='text'>
The information in these perations is used by other operation.
At this point they should not have anymore uses.

This patch is part of the upstreaming effort from fir-dev branch.

Reviewed By: kiranchandramohan

Differential Revision: https://reviews.llvm.org/D113971

Co-authored-by: Eric Schweitz &lt;eschweitz@nvidia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The information in these perations is used by other operation.
At this point they should not have anymore uses.

This patch is part of the upstreaming effort from fir-dev branch.

Reviewed By: kiranchandramohan

Differential Revision: https://reviews.llvm.org/D113971

Co-authored-by: Eric Schweitz &lt;eschweitz@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[fir] Add fir.string_lit conversion</title>
<updated>2021-11-16T20:13:45+00:00</updated>
<author>
<name>Valentin Clement</name>
<email>clementval@gmail.com</email>
</author>
<published>2021-11-16T19:37:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/llvm.git/commit/?id=1a2ec6670a516e4df233d9e596faa88d69bfdce1'/>
<id>1a2ec6670a516e4df233d9e596faa88d69bfdce1</id>
<content type='text'>
This patch adds the conversion pattern for
the fir.string_lit operation.

This patch is part of the upstreaming effort from fir-dev branch.

Reviewed By: awarzynski

Differential Revision: https://reviews.llvm.org/D113992

Co-authored-by: Eric Schweitz &lt;eschweitz@nvidia.com&gt;
Co-authored-by: Jean Perier &lt;jperier@nvidia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch adds the conversion pattern for
the fir.string_lit operation.

This patch is part of the upstreaming effort from fir-dev branch.

Reviewed By: awarzynski

Differential Revision: https://reviews.llvm.org/D113992

Co-authored-by: Eric Schweitz &lt;eschweitz@nvidia.com&gt;
Co-authored-by: Jean Perier &lt;jperier@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[flang][CodeGen] Transform `fir.boxchar_len` to a sequence of LLVM MLIR</title>
<updated>2021-11-16T13:49:23+00:00</updated>
<author>
<name>Andrzej Warzynski</name>
<email>andrzej.warzynski@arm.com</email>
</author>
<published>2021-11-12T13:25:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/llvm.git/commit/?id=6c3d7fd4c55cfacbf9536373857eb496b3cfedcf'/>
<id>6c3d7fd4c55cfacbf9536373857eb496b3cfedcf</id>
<content type='text'>
This patch extends the `FIRToLLVMLowering` pass in Flang by adding a
hook to transform `fir.boxchar_len` to a sequence of LLVM MLIR
instructions.

This is part of the upstreaming effort from the `fir-dev` branch in [1].

[1] https://github.com/flang-compiler/f18-llvm-project

Differential Revision: https://reviews.llvm.org/D113763

Originally written by:
Co-authored-by: Eric Schweitz &lt;eschweitz@nvidia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch extends the `FIRToLLVMLowering` pass in Flang by adding a
hook to transform `fir.boxchar_len` to a sequence of LLVM MLIR
instructions.

This is part of the upstreaming effort from the `fir-dev` branch in [1].

[1] https://github.com/flang-compiler/f18-llvm-project

Differential Revision: https://reviews.llvm.org/D113763

Originally written by:
Co-authored-by: Eric Schweitz &lt;eschweitz@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[fir] Add fir.gentypedesc conversion</title>
<updated>2021-11-16T13:41:00+00:00</updated>
<author>
<name>Valentin Clement</name>
<email>clementval@gmail.com</email>
</author>
<published>2021-11-16T13:37:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/llvm.git/commit/?id=3124618704c5a9d1442b75d6372307654fea0827'/>
<id>3124618704c5a9d1442b75d6372307654fea0827</id>
<content type='text'>
Add conversion pattern for the GenTypeDescOp.
Convert to a global constant with an addressof.

This patch is part of the upstreaming effort from fir-dev branch.

Reviewed By: kiranchandramohan

Differential Revision: https://reviews.llvm.org/D113766

Co-authored-by: Eric Schweitz &lt;eschweitz@nvidia.com&gt;
Co-authored-by: Jean Perier &lt;jperier@nvidia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add conversion pattern for the GenTypeDescOp.
Convert to a global constant with an addressof.

This patch is part of the upstreaming effort from fir-dev branch.

Reviewed By: kiranchandramohan

Differential Revision: https://reviews.llvm.org/D113766

Co-authored-by: Eric Schweitz &lt;eschweitz@nvidia.com&gt;
Co-authored-by: Jean Perier &lt;jperier@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
