<feed xmlns='http://www.w3.org/2005/Atom'>
<title>llvm-project.git/flang/lib/Lower/ConvertExpr.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>[flang] Adding lowering of TEAMs features to PRIF in MIF Dialect (#165573)</title>
<updated>2025-11-12T08:40:04+00:00</updated>
<author>
<name>Jean-Didier PAILLEUX</name>
<email>jean-didier.pailleux@sipearl.com</email>
</author>
<published>2025-11-12T08:40:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=d02a5ae10bab57be80bd460d10e6bb30959bdacc'/>
<id>d02a5ae10bab57be80bd460d10e6bb30959bdacc</id>
<content type='text'>
Support for multi-image features has begun to be integrated into LLVM
with the MIF dialect.
In this PR, you will find lowering and operations related to the TEAM
features (`SYNC TEAM`, `GET_TEAM`, `FORM TEAM`, `CHANGE TEAM`,
`TEAM_NUMBER`).

Note regarding the operation for `CHANGE TEAM` : This operation is
partial because it does not support the associated list of coarrays
because the allocation of a coarray and the lowering of PRIF's
`prif_alias_{create|destroy}` procedures are not yet supported in Flang.
This will be integrated later.

Any feedback is welcome.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Support for multi-image features has begun to be integrated into LLVM
with the MIF dialect.
In this PR, you will find lowering and operations related to the TEAM
features (`SYNC TEAM`, `GET_TEAM`, `FORM TEAM`, `CHANGE TEAM`,
`TEAM_NUMBER`).

Note regarding the operation for `CHANGE TEAM` : This operation is
partial because it does not support the associated list of coarrays
because the allocation of a coarray and the lowering of PRIF's
`prif_alias_{create|destroy}` procedures are not yet supported in Flang.
This will be integrated later.

Any feedback is welcome.</pre>
</div>
</content>
</entry>
<entry>
<title>[flang] Replace LLVM_ATTRIBUTE_UNUSED with [[maybe_unused]] (NFC) (#163916)</title>
<updated>2025-10-17T14:27:28+00:00</updated>
<author>
<name>Kazu Hirata</name>
<email>kazu@google.com</email>
</author>
<published>2025-10-17T14:27:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=7d25ba39c8ac4a08c30620463bdc5f586b43c1cd'/>
<id>7d25ba39c8ac4a08c30620463bdc5f586b43c1cd</id>
<content type='text'>
This patch replaces LLVM_ATTRIBUTE_UNUSED with [[maybe_unused]],
introduced as part of C++17.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch replaces LLVM_ATTRIBUTE_UNUSED with [[maybe_unused]],
introduced as part of C++17.</pre>
</div>
</content>
</entry>
<entry>
<title>[flang] Consolidate copy-in/copy-out determination in evaluate framework (#151408)</title>
<updated>2025-08-26T22:40:13+00:00</updated>
<author>
<name>Eugene Epshteyn</name>
<email>eepshteyn@nvidia.com</email>
</author>
<published>2025-08-26T22:40:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=4b6a4aa5228a45c3ab2add631f9dd49777b5bf24'/>
<id>4b6a4aa5228a45c3ab2add631f9dd49777b5bf24</id>
<content type='text'>
New implementation of `MayNeedCopy()` is used to consolidate
copy-in/copy-out checks.

`IsAssumedShape()` and `IsAssumedRank()` were simplified and are both
now in `Fortran::semantics` workspace.

`preparePresentUserCallActualArgument()` in lowering was modified to use
`MayNeedCopyInOut()`

Fixes https://github.com/llvm/llvm-project/issues/138471</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
New implementation of `MayNeedCopy()` is used to consolidate
copy-in/copy-out checks.

`IsAssumedShape()` and `IsAssumedRank()` were simplified and are both
now in `Fortran::semantics` workspace.

`preparePresentUserCallActualArgument()` in lowering was modified to use
`MayNeedCopyInOut()`

Fixes https://github.com/llvm/llvm-project/issues/138471</pre>
</div>
</content>
</entry>
<entry>
<title>[flang][NFC] Update more FIR op creation to the new APIs (#152060)</title>
<updated>2025-08-05T00:53:44+00:00</updated>
<author>
<name>Valentin Clement (バレンタイン クレメン)</name>
<email>clementval@gmail.com</email>
</author>
<published>2025-08-05T00:53:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=3b23fdb35def583ae5db58576a7fcb312315879e'/>
<id>3b23fdb35def583ae5db58576a7fcb312315879e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[NFC] Fix `assignment` typo. (#151864)</title>
<updated>2025-08-03T14:32:00+00:00</updated>
<author>
<name>Connector Switch</name>
<email>c8ef@outlook.com</email>
</author>
<published>2025-08-03T14:32:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=8b7f81f2de1faceaa29b2c148d99b663d23f7110'/>
<id>8b7f81f2de1faceaa29b2c148d99b663d23f7110</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[mlir][NFC] update `flang/Lower` create APIs (8/n) (#149912)</title>
<updated>2025-07-21T23:54:29+00:00</updated>
<author>
<name>Maksim Levental</name>
<email>maksim.levental@gmail.com</email>
</author>
<published>2025-07-21T23:54:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=a3a007ad5fa20abc90ead4e1030b481bf109b4cf'/>
<id>a3a007ad5fa20abc90ead4e1030b481bf109b4cf</id>
<content type='text'>
See https://github.com/llvm/llvm-project/pull/147168 for more info.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
See https://github.com/llvm/llvm-project/pull/147168 for more info.</pre>
</div>
</content>
</entry>
<entry>
<title>[flang] Migrate away from ArrayRef(std::nullopt_t) (#149454)</title>
<updated>2025-07-18T15:05:12+00:00</updated>
<author>
<name>Kazu Hirata</name>
<email>kazu@google.com</email>
</author>
<published>2025-07-18T15:05:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=151fffccf1340d8a2800664cbcaaa579ba772a4c'/>
<id>151fffccf1340d8a2800664cbcaaa579ba772a4c</id>
<content type='text'>
ArrayRef(std::nullopt_t) has been deprecated.  This patch replaces
std::nullopt with mlir::TypeRange{} or mlir::ValueRange{} as
appropriate.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
ArrayRef(std::nullopt_t) has been deprecated.  This patch replaces
std::nullopt with mlir::TypeRange{} or mlir::ValueRange{} as
appropriate.</pre>
</div>
</content>
</entry>
<entry>
<title>[flang] Migrate away from ArrayRef(std::nullopt_t) (#149337)</title>
<updated>2025-07-17T22:23:55+00:00</updated>
<author>
<name>Kazu Hirata</name>
<email>kazu@google.com</email>
</author>
<published>2025-07-17T22:23:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=2a7328dacae39e87ca4cc7548b9abcdba60b946b'/>
<id>2a7328dacae39e87ca4cc7548b9abcdba60b946b</id>
<content type='text'>
ArrayRef(std::nullopt_t) has been deprecated.  This patch replaces
std::nullopt with {}.

A subsequence patch will address those places where we need to replace
std::nullopt with mlir::TypeRange{} or mlir::ValueRange{}.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
ArrayRef(std::nullopt_t) has been deprecated.  This patch replaces
std::nullopt with {}.

A subsequence patch will address those places where we need to replace
std::nullopt with mlir::TypeRange{} or mlir::ValueRange{}.</pre>
</div>
</content>
</entry>
<entry>
<title>[flang] Add lowering of volatile references (#132486)</title>
<updated>2025-04-30T15:46:33+00:00</updated>
<author>
<name>Asher Mancinelli</name>
<email>ashermancinelli@gmail.com</email>
</author>
<published>2025-04-30T15:46:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=8836bce84208737f5807c396345a41e688d3ec11'/>
<id>8836bce84208737f5807c396345a41e688d3ec11</id>
<content type='text'>
[RFC on
discourse](https://discourse.llvm.org/t/rfc-volatile-representation-in-flang/85404/1)

Flang currently lacks support for volatile variables. For some cases,
the compiler produces TODO error messages and others are ignored. Some
of our tests are like the example from _C.4 Clause 8 notes: The VOLATILE
attribute (8.5.20)_ and require volatile variables.

Prior commits:
```
c9ec1bc753b0 [flang] Handle volatility in lowering and codegen (#135311)
e42f8609858f [flang][nfc] Support volatility in Fir ops (#134858)
b2711e1526f9 [flang][nfc] Support volatile on ref, box, and class types (#134386)
```</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
[RFC on
discourse](https://discourse.llvm.org/t/rfc-volatile-representation-in-flang/85404/1)

Flang currently lacks support for volatile variables. For some cases,
the compiler produces TODO error messages and others are ignored. Some
of our tests are like the example from _C.4 Clause 8 notes: The VOLATILE
attribute (8.5.20)_ and require volatile variables.

Prior commits:
```
c9ec1bc753b0 [flang] Handle volatility in lowering and codegen (#135311)
e42f8609858f [flang][nfc] Support volatility in Fir ops (#134858)
b2711e1526f9 [flang][nfc] Support volatile on ref, box, and class types (#134386)
```</pre>
</div>
</content>
</entry>
<entry>
<title>[flang][nfc] Initial changes needed to use llvm intrinsics instead of regular calls (#134170)</title>
<updated>2025-04-03T15:37:40+00:00</updated>
<author>
<name>Asher Mancinelli</name>
<email>ashermancinelli@gmail.com</email>
</author>
<published>2025-04-03T15:37:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=d7d91500b6ef7efb059f660ff7e4aa44553643e6'/>
<id>d7d91500b6ef7efb059f660ff7e4aa44553643e6</id>
<content type='text'>
Flang uses `fir.call &lt;llvm intrinsic&gt;` in a few places. This means
consumers of the IR need to strcmp every fir.call if they want to find a
particular LLVM intrinsic.
Emit LLVM memcpy intrinsics instead.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Flang uses `fir.call &lt;llvm intrinsic&gt;` in a few places. This means
consumers of the IR need to strcmp every fir.call if they want to find a
particular LLVM intrinsic.
Emit LLVM memcpy intrinsics instead.</pre>
</div>
</content>
</entry>
</feed>
