<feed xmlns='http://www.w3.org/2005/Atom'>
<title>llvm-project.git/flang-rt/lib/runtime/character.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][NFC] Revise crash msg for GeneralCharFunc (#162292)</title>
<updated>2025-10-08T02:19:42+00:00</updated>
<author>
<name>Connector Switch</name>
<email>c8ef@outlook.com</email>
</author>
<published>2025-10-08T02:19:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=760a1142feee734d044ab546914407f6b8d96062'/>
<id>760a1142feee734d044ab546914407f6b8d96062</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[flang] use specialized scan/verify version for char (#161767)</title>
<updated>2025-10-03T04:53:57+00:00</updated>
<author>
<name>Connector Switch</name>
<email>c8ef@outlook.com</email>
</author>
<published>2025-10-03T04:53:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=d7f1cc885a75cf51e8f695e847d856d75fb05dd0'/>
<id>d7f1cc885a75cf51e8f695e847d856d75fb05dd0</id>
<content type='text'>
The specialized version has a time complexity of `O(n)`.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The specialized version has a time complexity of `O(n)`.</pre>
</div>
</content>
</entry>
<entry>
<title>[Flang][OpenMP][Runtime] Minor Flang runtime for OpenMP AMDGPU modifications (#152631)</title>
<updated>2025-08-29T21:04:48+00:00</updated>
<author>
<name>agozillon</name>
<email>Andrew.Gozillon@amd.com</email>
</author>
<published>2025-08-29T21:04:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=30d2cb5a7ecd34cf19843533681a53aa7bd8d351'/>
<id>30d2cb5a7ecd34cf19843533681a53aa7bd8d351</id>
<content type='text'>
We have some modifications downstream to compile the flang runtime for
amdgpu using clang OpenMP, some more hacky than others to workaround
(hopefully temporary) compiler issues. The additions here are the
non-hacky alterations.

Main changes:
* Create freestanding versions of memcpy, strlen and memmove, and
replace std:: references with these so that we can default to std:: when
it's available, or our own Flang implementation when it's not. * Wrap
more bits and pieces of the library in declare target wrappers (RT_*
macros). * Fix some warnings that'll pose issues with werror on, in this
case having the namespace infront of variables passed to templates.

Another minor issues that'll likely still pop up depending on the
program you're linking with is that abort will be undefined, it is
perhaps possible to solve it with a freestanding implementation as with
memcpy etc. but we end up with multiple definitions in this case. An
alternative is to create an empty extern "c" version (which can be empty
or forwrd on to the builtin).

Co-author: Dan Palermo Dan.Palermo@amd.com</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We have some modifications downstream to compile the flang runtime for
amdgpu using clang OpenMP, some more hacky than others to workaround
(hopefully temporary) compiler issues. The additions here are the
non-hacky alterations.

Main changes:
* Create freestanding versions of memcpy, strlen and memmove, and
replace std:: references with these so that we can default to std:: when
it's available, or our own Flang implementation when it's not. * Wrap
more bits and pieces of the library in declare target wrappers (RT_*
macros). * Fix some warnings that'll pose issues with werror on, in this
case having the namespace infront of variables passed to templates.

Another minor issues that'll likely still pop up depending on the
program you're linking with is that abort will be undefined, it is
perhaps possible to solve it with a freestanding implementation as with
memcpy etc. but we end up with multiple definitions in this case. An
alternative is to create an empty extern "c" version (which can be empty
or forwrd on to the builtin).

Co-author: Dan Palermo Dan.Palermo@amd.com</pre>
</div>
</content>
</entry>
<entry>
<title>[flang][cuda] Use a reference for asyncObject (#140614)</title>
<updated>2025-05-19T22:02:53+00:00</updated>
<author>
<name>Valentin Clement (バレンタイン クレメン)</name>
<email>clementval@gmail.com</email>
</author>
<published>2025-05-19T22:02:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=f5609aa1b014bea1eb72a992665c6afa41015794'/>
<id>f5609aa1b014bea1eb72a992665c6afa41015794</id>
<content type='text'>
Switch from `int64_t` to `int64_t*` to fit with the rest of the
implementation.

New tentative with some fix. The previous was reverted some time ago.

Reviewed in #138010</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Switch from `int64_t` to `int64_t*` to fit with the rest of the
implementation.

New tentative with some fix. The previous was reverted some time ago.

Reviewed in #138010</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "[flang][cuda] Use a reference for asyncObject" (#138221)</title>
<updated>2025-05-02T00:41:44+00:00</updated>
<author>
<name>Valentin Clement (バレンタイン クレメン)</name>
<email>clementval@gmail.com</email>
</author>
<published>2025-05-02T00:41:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=9b6b144438ccf371e51b578e642f2ce5d3aa89c8'/>
<id>9b6b144438ccf371e51b578e642f2ce5d3aa89c8</id>
<content type='text'>
Reverts llvm/llvm-project#138186</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reverts llvm/llvm-project#138186</pre>
</div>
</content>
</entry>
<entry>
<title>[flang][cuda] Use a reference for asyncObject (#138186)</title>
<updated>2025-05-02T00:04:12+00:00</updated>
<author>
<name>Valentin Clement (バレンタイン クレメン)</name>
<email>clementval@gmail.com</email>
</author>
<published>2025-05-02T00:04:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=7f922f1400f00a73d1618e3f17556704c6b9436d'/>
<id>7f922f1400f00a73d1618e3f17556704c6b9436d</id>
<content type='text'>
Switch from `int64_t` to `int64_t*` to fit with the rest of the
implementation.

New tentative with some fix. The previous was reverted yesterday.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Switch from `int64_t` to `int64_t*` to fit with the rest of the
implementation.

New tentative with some fix. The previous was reverted yesterday.</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "[flang][cuda] Use a reference for asyncObject (#138010)" (#138082)</title>
<updated>2025-05-01T05:03:26+00:00</updated>
<author>
<name>Valentin Clement (バレンタイン クレメン)</name>
<email>clementval@gmail.com</email>
</author>
<published>2025-05-01T05:03:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=01a18809ee80b5a8bfa5a7a116e846405ab2851a'/>
<id>01a18809ee80b5a8bfa5a7a116e846405ab2851a</id>
<content type='text'>
This reverts commit 9b0eaf71e674a28ee55be3afa11b5f7d4da732c0.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit 9b0eaf71e674a28ee55be3afa11b5f7d4da732c0.</pre>
</div>
</content>
</entry>
<entry>
<title>[flang][cuda] Use a reference for asyncObject (#138010)</title>
<updated>2025-04-30T21:02:29+00:00</updated>
<author>
<name>Valentin Clement (バレンタイン クレメン)</name>
<email>clementval@gmail.com</email>
</author>
<published>2025-04-30T21:02:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=9b0eaf71e674a28ee55be3afa11b5f7d4da732c0'/>
<id>9b0eaf71e674a28ee55be3afa11b5f7d4da732c0</id>
<content type='text'>
Switch from `int64_t` to `int64_t*` to fit with the rest of the
implementation.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Switch from `int64_t` to `int64_t*` to fit with the rest of the
implementation.</pre>
</div>
</content>
</entry>
<entry>
<title>[flang-rt] Simplify INDEX with len-1 SUBSTRING. (#137889)</title>
<updated>2025-04-30T15:25:06+00:00</updated>
<author>
<name>Slava Zakharin</name>
<email>szakharin@nvidia.com</email>
</author>
<published>2025-04-30T15:25:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=a8607063f32a14a6cf453c84edcb21d08f517f25'/>
<id>a8607063f32a14a6cf453c84edcb21d08f517f25</id>
<content type='text'>
The len-1 case is noticeably slower than gfortran's straightforward
implementation
https://github.com/gcc-mirror/gcc/blob/075611b646e5554ae02b2622061ea1614bf16ead/libgfortran/intrinsics/string_intrinsics_inc.c#L253
This change speeds up a simple microkernel by 37% on icelake.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The len-1 case is noticeably slower than gfortran's straightforward
implementation
https://github.com/gcc-mirror/gcc/blob/075611b646e5554ae02b2622061ea1614bf16ead/libgfortran/intrinsics/string_intrinsics_inc.c#L253
This change speeds up a simple microkernel by 37% on icelake.</pre>
</div>
</content>
</entry>
<entry>
<title>[flang][cuda] Add asyncId to allocate entry point (#134947)</title>
<updated>2025-04-09T17:52:02+00:00</updated>
<author>
<name>Valentin Clement (バレンタイン クレメン)</name>
<email>clementval@gmail.com</email>
</author>
<published>2025-04-09T17:52:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=f4d87c42a6021e49fd972f5f5d863d35b267d17f'/>
<id>f4d87c42a6021e49fd972f5f5d863d35b267d17f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
