klausler wrote:
There's an implicit assumption here that either future runtime work won't
occur, or won't need anything from Common that you're moving away into the new
compiler-only directory.
Is this change required for your work that restructures the runtime builds?
https://github.com/llvm
@@ -0,0 +1,68 @@
+! RUN: bbc -emit-hlfir %s -o - | %python %S/gen_mod_ref_test.py | \
+! RUN: fir-opt
-pass-pipeline='builtin.module(func.func(test-fir-alias-analysis-modref))' \
+! RUN: --mlir-disable-threading -o /dev/null 2>&1 | FileCheck %s
+
+! Test fir.call modref for glo
@@ -0,0 +1,135 @@
+! RUN: bbc -emit-hlfir %s -o - | %python %S/gen_mod_ref_test.py | \
+! RUN: fir-opt
-pass-pipeline='builtin.module(func.func(test-fir-alias-analysis-modref))' \
+! RUN: --mlir-disable-threading -o /dev/null 2>&1 | FileCheck %s
+
+! Test fir.call modref with i
https://github.com/klausler approved this pull request.
https://github.com/llvm/llvm-project/pull/117164
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
@@ -1,13 +1,13 @@
-//===-- include/flang/Runtime/CUDA/allocator.h --*- C++
-*-===//
+//===-- include/flang-rt/CufRuntime/allocator.h -*- C++
-*-===//
klausler wrote:
CUDA Fortran is the name of the language. "cuf" is a filename
@@ -11,8 +11,11 @@
using namespace Fortran::parser::literals;
+
klausler wrote:
why are these new blank lines necessary?
https://github.com/llvm/llvm-project/pull/110217
___
llvm-branch-commits mailing list
llvm-b
klausler wrote:
On what targets would the size or member byte offsets in a descriptor differ?
https://github.com/llvm/llvm-project/pull/112188
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailma
klausler wrote:
> > A Fortran compiler and its runtime are tightly coupled; the compiler can
> > only work with this runtime, this runtime can only be used by this
> > compiler, and they share common API definitions and data structures.
>
> So is c C/C++ compiler and its runtime(s). There is s
klausler wrote:
> While it would be possible to only have a `FortranRuntime/CMakeLists.txt` and
> leave all the other files in `flang/`, I strongly believe this is a bad idea.
> It is the norm for LLVM runtimes to have separate sources.
A Fortran compiler and its runtime are tightly coupled; t
https://github.com/klausler commented:
This is a gigantic change and I don't understand why it's being made. Why is
so much code moving out of flang/ ?
https://github.com/llvm/llvm-project/pull/110298
___
llvm-branch-commits mailing list
llvm-branch-
@@ -368,7 +368,12 @@ static bool FormattedDerivedTypeIO(IoStatementState &io,
++j, descriptor.IncrementSubscripts(subscripts)) {
Fortran::common::optional result;
if (special) {
+#if !defined(RT_DEVICE_COMPILATION)
result = DefinedFormattedIo(io, descripto
https://github.com/klausler approved this pull request.
https://github.com/llvm/llvm-project/pull/85182
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
https://github.com/klausler edited
https://github.com/llvm/llvm-project/pull/85182
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
@@ -48,6 +55,10 @@ template class InternalDescriptorUnit :
public ConnectionState {
void BlankFillOutputRecord();
StaticDescriptor staticDescriptor_;
+ RT_OFFLOAD_VAR_GROUP_BEGIN
+ static constexpr std::size_t ownBufferSizeInBytes{1024};
+ RT_OFFLOAD_VAR_GROUP_END
+
@@ -119,6 +120,9 @@ template void
InternalIoStatementState::BackspaceRecord() {
}
template int InternalIoStatementState::EndIoStatement() {
+ if constexpr (DIR == Direction::Output) {
klausler wrote:
If it is possible for the buffer flush to raise an erro
@@ -41,6 +52,26 @@ InternalDescriptorUnit::InternalDescriptorUnit(
endfileRecordNumber = d.Elements() + 1;
}
+template void InternalDescriptorUnit::EndIoStatement() {
+ if constexpr (DIR == Direction::Output) {
+if (usesOwnBuffer) {
+ // Null terminate the buffer
@@ -41,6 +52,26 @@ InternalDescriptorUnit::InternalDescriptorUnit(
endfileRecordNumber = d.Elements() + 1;
}
+template void InternalDescriptorUnit::EndIoStatement() {
+ if constexpr (DIR == Direction::Output) {
+if (usesOwnBuffer) {
+ // Null terminate the buffer
https://github.com/klausler commented:
If you want to support child I/O (user-defined derived type I/O) on the device,
this approach of adding special behavior to the internal units won't work --
child I/O is embedded in external units. It might be clearer to support this
device output path b
@@ -48,6 +55,10 @@ template class InternalDescriptorUnit :
public ConnectionState {
void BlankFillOutputRecord();
StaticDescriptor staticDescriptor_;
+ RT_OFFLOAD_VAR_GROUP_BEGIN
+ static constexpr std::size_t ownBufferSizeInBytes{1024};
+ RT_OFFLOAD_VAR_GROUP_END
---
https://github.com/klausler edited
https://github.com/llvm/llvm-project/pull/85181
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
https://github.com/klausler approved this pull request.
https://github.com/llvm/llvm-project/pull/85180
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
https://github.com/klausler requested changes to this pull request.
It would be better to have the types that are available on the device declare
themselves so in their declarations via a member or (better) inherited trait.
The big variant union in `IoStatementState` could omit the host-only op
Valentin Clement =?utf-8?b?KOODkOODrOODsw==?=
Message-ID:
In-Reply-To:
https://github.com/klausler approved this pull request.
https://github.com/llvm/llvm-project/pull/77804
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
htt
Author: peter klausler
Date: 2021-01-22T10:55:53-08:00
New Revision: f187d64c80acd84f3f60799b80eba2485f8866df
URL:
https://github.com/llvm/llvm-project/commit/f187d64c80acd84f3f60799b80eba2485f8866df
DIFF:
https://github.com/llvm/llvm-project/commit/f187d64c80acd84f3f60799b80eba2485f8866df.diff
Author: peter klausler
Date: 2021-01-22T10:48:58-08:00
New Revision: 07f1e1f44c87d1ee84caf13d6e5aa64eb7e1b068
URL:
https://github.com/llvm/llvm-project/commit/07f1e1f44c87d1ee84caf13d6e5aa64eb7e1b068
DIFF:
https://github.com/llvm/llvm-project/commit/07f1e1f44c87d1ee84caf13d6e5aa64eb7e1b068.diff
Author: peter klausler
Date: 2021-01-22T10:08:51-08:00
New Revision: 59bf9a89d825c1f23b249e0ce43d8bf7b486a203
URL:
https://github.com/llvm/llvm-project/commit/59bf9a89d825c1f23b249e0ce43d8bf7b486a203
DIFF:
https://github.com/llvm/llvm-project/commit/59bf9a89d825c1f23b249e0ce43d8bf7b486a203.diff
Author: peter klausler
Date: 2021-01-21T16:59:51-08:00
New Revision: 2de5ea3b3ed9882026d9dc6c5d8ec462ebe5f8ec
URL:
https://github.com/llvm/llvm-project/commit/2de5ea3b3ed9882026d9dc6c5d8ec462ebe5f8ec
DIFF:
https://github.com/llvm/llvm-project/commit/2de5ea3b3ed9882026d9dc6c5d8ec462ebe5f8ec.diff
Author: peter klausler
Date: 2021-01-21T16:37:35-08:00
New Revision: 0cfadb37f4fef016998cb412270cfe87b0683090
URL:
https://github.com/llvm/llvm-project/commit/0cfadb37f4fef016998cb412270cfe87b0683090
DIFF:
https://github.com/llvm/llvm-project/commit/0cfadb37f4fef016998cb412270cfe87b0683090.diff
Author: peter klausler
Date: 2021-01-21T16:15:38-08:00
New Revision: 3738447c96c7400d0e9b9b00b583dca45fb0807f
URL:
https://github.com/llvm/llvm-project/commit/3738447c96c7400d0e9b9b00b583dca45fb0807f
DIFF:
https://github.com/llvm/llvm-project/commit/3738447c96c7400d0e9b9b00b583dca45fb0807f.diff
Author: peter klausler
Date: 2021-01-21T09:41:05-08:00
New Revision: a75840a09c65582e3ec4eb1654bd17386b71397d
URL:
https://github.com/llvm/llvm-project/commit/a75840a09c65582e3ec4eb1654bd17386b71397d
DIFF:
https://github.com/llvm/llvm-project/commit/a75840a09c65582e3ec4eb1654bd17386b71397d.diff
Author: peter klausler
Date: 2021-01-20T12:40:25-08:00
New Revision: 0996b590aaafe2de8378fd45a5094c13a4de3360
URL:
https://github.com/llvm/llvm-project/commit/0996b590aaafe2de8378fd45a5094c13a4de3360
DIFF:
https://github.com/llvm/llvm-project/commit/0996b590aaafe2de8378fd45a5094c13a4de3360.diff
Author: peter klausler
Date: 2021-01-20T11:18:27-08:00
New Revision: ff3b51b0549343b6ef7d718e036116d5b502458c
URL:
https://github.com/llvm/llvm-project/commit/ff3b51b0549343b6ef7d718e036116d5b502458c
DIFF:
https://github.com/llvm/llvm-project/commit/ff3b51b0549343b6ef7d718e036116d5b502458c.diff
Author: peter klausler
Date: 2021-01-19T11:44:51-08:00
New Revision: 24e8e21f19f4380e8410a12f9135bfef3c046142
URL:
https://github.com/llvm/llvm-project/commit/24e8e21f19f4380e8410a12f9135bfef3c046142
DIFF:
https://github.com/llvm/llvm-project/commit/24e8e21f19f4380e8410a12f9135bfef3c046142.diff
Author: peter klausler
Date: 2021-01-15T16:56:38-08:00
New Revision: 1bd083b5d6d0619f532a7310e72887ea6d2e87eb
URL:
https://github.com/llvm/llvm-project/commit/1bd083b5d6d0619f532a7310e72887ea6d2e87eb
DIFF:
https://github.com/llvm/llvm-project/commit/1bd083b5d6d0619f532a7310e72887ea6d2e87eb.diff
Author: peter klausler
Date: 2021-01-14T09:44:50-08:00
New Revision: 4864d9f7e91fdd58a84e4ae576f1ad16f71f9d91
URL:
https://github.com/llvm/llvm-project/commit/4864d9f7e91fdd58a84e4ae576f1ad16f71f9d91
DIFF:
https://github.com/llvm/llvm-project/commit/4864d9f7e91fdd58a84e4ae576f1ad16f71f9d91.diff
Author: peter klausler
Date: 2021-01-13T11:01:27-08:00
New Revision: 166e5c335cbe9f8144a7822ca655dc3352ec9e56
URL:
https://github.com/llvm/llvm-project/commit/166e5c335cbe9f8144a7822ca655dc3352ec9e56
DIFF:
https://github.com/llvm/llvm-project/commit/166e5c335cbe9f8144a7822ca655dc3352ec9e56.diff
Author: peter klausler
Date: 2021-01-13T10:05:14-08:00
New Revision: a50bb84ec0c2d47a2a7403ad29842ca48cd6b828
URL:
https://github.com/llvm/llvm-project/commit/a50bb84ec0c2d47a2a7403ad29842ca48cd6b828
DIFF:
https://github.com/llvm/llvm-project/commit/a50bb84ec0c2d47a2a7403ad29842ca48cd6b828.diff
Author: peter klausler
Date: 2020-12-16T07:55:44-08:00
New Revision: 07751310580fa5b7b94b6efa85d7964af0f699a6
URL:
https://github.com/llvm/llvm-project/commit/07751310580fa5b7b94b6efa85d7964af0f699a6
DIFF:
https://github.com/llvm/llvm-project/commit/07751310580fa5b7b94b6efa85d7964af0f699a6.diff
Author: peter klausler
Date: 2020-12-15T17:26:20-08:00
New Revision: 6aa3591e98402418e110c506cdd488ed1e3021b6
URL:
https://github.com/llvm/llvm-project/commit/6aa3591e98402418e110c506cdd488ed1e3021b6
DIFF:
https://github.com/llvm/llvm-project/commit/6aa3591e98402418e110c506cdd488ed1e3021b6.diff
Author: peter klausler
Date: 2020-12-15T16:26:18-08:00
New Revision: d6a74ec826adac16f715c5700fc102c62d1a8bf0
URL:
https://github.com/llvm/llvm-project/commit/d6a74ec826adac16f715c5700fc102c62d1a8bf0
DIFF:
https://github.com/llvm/llvm-project/commit/d6a74ec826adac16f715c5700fc102c62d1a8bf0.diff
Author: peter klausler
Date: 2020-12-15T13:36:07-08:00
New Revision: 9a883bfa11dd77cf2d45a25c5efc364e256e6d9a
URL:
https://github.com/llvm/llvm-project/commit/9a883bfa11dd77cf2d45a25c5efc364e256e6d9a
DIFF:
https://github.com/llvm/llvm-project/commit/9a883bfa11dd77cf2d45a25c5efc364e256e6d9a.diff
Author: peter klausler
Date: 2020-12-15T13:04:44-08:00
New Revision: b1afbceb9296a9ce14a0bd38f36e93b8c77fa18a
URL:
https://github.com/llvm/llvm-project/commit/b1afbceb9296a9ce14a0bd38f36e93b8c77fa18a
DIFF:
https://github.com/llvm/llvm-project/commit/b1afbceb9296a9ce14a0bd38f36e93b8c77fa18a.diff
Author: peter klausler
Date: 2020-12-08T10:26:58-08:00
New Revision: 4fede8bc8a015477f2a8feeb30a1d2a2e155106d
URL:
https://github.com/llvm/llvm-project/commit/4fede8bc8a015477f2a8feeb30a1d2a2e155106d
DIFF:
https://github.com/llvm/llvm-project/commit/4fede8bc8a015477f2a8feeb30a1d2a2e155106d.diff
43 matches
Mail list logo