Skip to content

Commit f9a732e

Browse files
committed
Merge branch 'users/meinersbur/flang_runtime_FortranSupport' into users/meinersbur/flang_runtime_move-files
2 parents e3e0abe + 7f342b7 commit f9a732e

File tree

11 files changed

+19
-2
lines changed

11 files changed

+19
-2
lines changed

flang-rt/lib/flang_rt/CUDA/allocatable.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
#include "flang/Runtime/CUDA/descriptor.h"
1616
#include "flang/Runtime/CUDA/memmove-function.h"
1717
#include "flang/Runtime/allocatable.h"
18+
#include "flang/Runtime/descriptor.h"
1819

1920
#include "cuda_runtime.h"
2021

flang-rt/lib/flang_rt/CUDA/allocator.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
#include "flang/Common/ISO_Fortran_binding_wrapper.h"
1616
#include "flang/Runtime/CUDA/common.h"
1717
#include "flang/Support/Fortran.h"
18+
#include "flang/Support/Fortran.h"
1819

1920
#include "cuda_runtime.h"
2021

flang-rt/unittests/Runtime/CUDA/Allocatable.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@
1515
#include "flang/Runtime/CUDA/common.h"
1616
#include "flang/Runtime/CUDA/descriptor.h"
1717
#include "flang/Support/Fortran.h"
18+
#include "flang/Runtime/descriptor.h"
19+
#include "flang/Runtime/memory.h"
20+
#include "flang/Support/Fortran.h"
1821

1922
#include "cuda_runtime.h"
2023

flang-rt/unittests/Runtime/CUDA/AllocatorCUF.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@
1515
#include "flang/Runtime/CUDA/descriptor.h"
1616
#include "flang/Runtime/allocatable.h"
1717
#include "flang/Support/Fortran.h"
18+
#include "flang/Runtime/descriptor.h"
19+
#include "flang/Runtime/memory.h"
20+
#include "flang/Support/Fortran.h"
1821

1922
using namespace Fortran::runtime;
2023
using namespace Fortran::runtime::cuda;

flang-rt/unittests/Runtime/CUDA/Memory.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
#include "flang/Runtime/CUDA/descriptor.h"
1717
#include "flang/Runtime/allocatable.h"
1818
#include "flang/Support/Fortran.h"
19+
#include "flang/Support/Fortran.h"
1920

2021
#include "cuda_runtime.h"
2122

flang/lib/Optimizer/Builder/IntrinsicCall.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -778,7 +778,7 @@ prettyPrintIntrinsicName(fir::FirOpBuilder &builder, mlir::Location loc,
778778
// Generate a call to the Fortran runtime library providing
779779
// support for 128-bit float math.
780780
// On 'HAS_LDBL128' targets the implementation
781-
// is provided by flang_rt, otherwise, it is done via
781+
// is provided by FortranRuntime, otherwise, it is done via
782782
// FortranFloat128Math library. In the latter case the compiler
783783
// has to be built with FLANG_RUNTIME_F128_MATH_LIB to guarantee
784784
// proper linking actions in the driver.

flang/tools/f18-parse-demo/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,6 @@ add_flang_tool(f18-parse-demo
1212
target_link_libraries(f18-parse-demo
1313
PRIVATE
1414
FortranCommon
15+
FortranSupport
1516
FortranParser
1617
)

flang/tools/f18-parse-demo/f18-parse-demo.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
// scaffolding compiler driver that can test some semantic passes of the
2222
// F18 compiler under development.
2323

24-
#include "flang/Support/Fortran-features.h"
2524
#include "flang/Parser/characters.h"
2625
#include "flang/Parser/dump-parse-tree.h"
2726
#include "flang/Parser/message.h"
@@ -30,6 +29,7 @@
3029
#include "flang/Parser/parsing.h"
3130
#include "flang/Parser/provenance.h"
3231
#include "flang/Parser/unparse.h"
32+
#include "flang/Support/Fortran-features.h"
3333
#include "flang/Support/default-kinds.h"
3434
#include "llvm/Support/Errno.h"
3535
#include "llvm/Support/FileSystem.h"

flang/tools/tco/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ target_link_libraries(tco PRIVATE
2020
flangPasses
2121
FlangOpenMPTransforms
2222
FortranCommon
23+
FortranSupport
2324
${dialect_libs}
2425
${extension_libs}
2526
MLIRIR

flang/unittests/Evaluate/CMakeLists.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ add_flang_nongtest_unittest(uint128
2727

2828
add_flang_nongtest_unittest(expression
2929
FortranCommon
30+
FortranSupport
3031
FortranEvaluateTesting
3132
FortranEvaluate
3233
FortranSemantics
@@ -41,6 +42,7 @@ add_flang_nongtest_unittest(integer
4142

4243
add_flang_nongtest_unittest(intrinsics
4344
FortranCommon
45+
FortranSupport
4446
FortranEvaluateTesting
4547
FortranEvaluate
4648
FortranSemantics
@@ -63,12 +65,15 @@ set(LLVM_REQUIRES_RTTI ON)
6365
add_flang_nongtest_unittest(real
6466
FortranEvaluateTesting
6567
FortranEvaluate
68+
FortranCommon
69+
FortranSupport
6670
FortranSemantics
6771
)
6872
llvm_update_compile_flags(real.test)
6973

7074
add_flang_nongtest_unittest(folding
7175
FortranCommon
76+
FortranSupport
7277
FortranEvaluateTesting
7378
FortranEvaluate
7479
FortranSemantics

flang/unittests/Frontend/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ target_link_libraries(FlangFrontendTests
1919
FortranParser
2020
FortranSemantics
2121
FortranCommon
22+
FortranSupport
2223
FortranEvaluate
2324
MLIRIR
2425
)

0 commit comments

Comments
 (0)