Skip to content

Commit 5c8c2b3

Browse files
authored
[Flang] Rename libFortranRuntime.a to libflang_rt.runtime.a (#122341)
Following the conclusion of the [RFC](https://discourse.llvm.org/t/rfc-names-for-flang-rt-libraries/84321), rename Flang's runtime libraries as follows: * libFortranRuntime.(a|so) to libflang_rt.runtime.(a|so) * libFortranFloat128Math.a to libflang_rt.quadmath.a * libCufRuntime_cuda_${CUDAToolkit_VERSION_MAJOR}.(a|so) to libflang_rt.cuda_${CUDAToolkit_VERSION_MAJOR}.(a|so) This follows the same naming scheme as Compiler-RT libraries (`libclang_rt.${component}.(a|so)`). It provides some consistency between Flang's runtime libraries for current and potential future library components.
1 parent 40ce8fd commit 5c8c2b3

29 files changed

+128
-96
lines changed

clang/lib/Driver/ToolChains/CommonArgs.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1321,7 +1321,7 @@ void tools::addOpenMPHostOffloadingArgs(const Compilation &C,
13211321
/// Add Fortran runtime libs
13221322
void tools::addFortranRuntimeLibs(const ToolChain &TC, const ArgList &Args,
13231323
llvm::opt::ArgStringList &CmdArgs) {
1324-
// Link FortranRuntime
1324+
// Link flang_rt.runtime
13251325
// These are handled earlier on Windows by telling the frontend driver to
13261326
// add the correct libraries to link against as dependents in the object
13271327
// file.
@@ -1330,14 +1330,14 @@ void tools::addFortranRuntimeLibs(const ToolChain &TC, const ArgList &Args,
13301330
F128LibName.consume_front_insensitive("lib");
13311331
if (!F128LibName.empty()) {
13321332
bool AsNeeded = !TC.getTriple().isOSAIX();
1333-
CmdArgs.push_back("-lFortranFloat128Math");
1333+
CmdArgs.push_back("-lflang_rt.quadmath");
13341334
if (AsNeeded)
13351335
addAsNeededOption(TC, Args, CmdArgs, /*as_needed=*/true);
13361336
CmdArgs.push_back(Args.MakeArgString("-l" + F128LibName));
13371337
if (AsNeeded)
13381338
addAsNeededOption(TC, Args, CmdArgs, /*as_needed=*/false);
13391339
}
1340-
CmdArgs.push_back("-lFortranRuntime");
1340+
CmdArgs.push_back("-lflang_rt.runtime");
13411341
addArchSpecificRPath(TC, Args, CmdArgs);
13421342

13431343
// needs libexecinfo for backtrace functions

clang/lib/Driver/ToolChains/Flang.cpp

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -346,11 +346,15 @@ static void processVSRuntimeLibrary(const ToolChain &TC, const ArgList &Args,
346346
ArgStringList &CmdArgs) {
347347
assert(TC.getTriple().isKnownWindowsMSVCEnvironment() &&
348348
"can only add VS runtime library on Windows!");
349-
// if -fno-fortran-main has been passed, skip linking Fortran_main.a
350-
if (TC.getTriple().isKnownWindowsMSVCEnvironment()) {
351-
CmdArgs.push_back(Args.MakeArgString(
352-
"--dependent-lib=" + TC.getCompilerRTBasename(Args, "builtins")));
353-
}
349+
350+
// Flang/Clang (including clang-cl) -compiled programs targeting the MSVC ABI
351+
// should only depend on msv(u)crt. LLVM still emits libgcc/compiler-rt
352+
// functions in some cases like 128-bit integer math (__udivti3, __modti3,
353+
// __fixsfti, __floattidf, ...) that msvc does not support. We are injecting a
354+
// dependency to Compiler-RT's builtin library where these are implemented.
355+
CmdArgs.push_back(Args.MakeArgString(
356+
"--dependent-lib=" + TC.getCompilerRTBasename(Args, "builtins")));
357+
354358
unsigned RTOptionID = options::OPT__SLASH_MT;
355359
if (auto *rtl = Args.getLastArg(options::OPT_fms_runtime_lib_EQ)) {
356360
RTOptionID = llvm::StringSwitch<unsigned>(rtl->getValue())
@@ -364,26 +368,26 @@ static void processVSRuntimeLibrary(const ToolChain &TC, const ArgList &Args,
364368
case options::OPT__SLASH_MT:
365369
CmdArgs.push_back("-D_MT");
366370
CmdArgs.push_back("--dependent-lib=libcmt");
367-
CmdArgs.push_back("--dependent-lib=FortranRuntime.static.lib");
371+
CmdArgs.push_back("--dependent-lib=flang_rt.runtime.static.lib");
368372
break;
369373
case options::OPT__SLASH_MTd:
370374
CmdArgs.push_back("-D_MT");
371375
CmdArgs.push_back("-D_DEBUG");
372376
CmdArgs.push_back("--dependent-lib=libcmtd");
373-
CmdArgs.push_back("--dependent-lib=FortranRuntime.static_dbg.lib");
377+
CmdArgs.push_back("--dependent-lib=flang_rt.runtime.static_dbg.lib");
374378
break;
375379
case options::OPT__SLASH_MD:
376380
CmdArgs.push_back("-D_MT");
377381
CmdArgs.push_back("-D_DLL");
378382
CmdArgs.push_back("--dependent-lib=msvcrt");
379-
CmdArgs.push_back("--dependent-lib=FortranRuntime.dynamic.lib");
383+
CmdArgs.push_back("--dependent-lib=flang_rt.runtime.dynamic.lib");
380384
break;
381385
case options::OPT__SLASH_MDd:
382386
CmdArgs.push_back("-D_MT");
383387
CmdArgs.push_back("-D_DEBUG");
384388
CmdArgs.push_back("-D_DLL");
385389
CmdArgs.push_back("--dependent-lib=msvcrtd");
386-
CmdArgs.push_back("--dependent-lib=FortranRuntime.dynamic_dbg.lib");
390+
CmdArgs.push_back("--dependent-lib=flang_rt.runtime.dynamic_dbg.lib");
387391
break;
388392
}
389393
}

flang/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ set(FLANG_DEFAULT_LINKER "" CACHE STRING
301301
"Default linker to use (linker name or absolute path, empty for platform default)")
302302

303303
set(FLANG_DEFAULT_RTLIB "" CACHE STRING
304-
"Default Fortran runtime library to use (\"libFortranRuntime\"), leave empty for platform default.")
304+
"Default Fortran runtime library to use (\"libflang_rt.runtime\"), leave empty for platform default.")
305305

306306
if (NOT(FLANG_DEFAULT_RTLIB STREQUAL ""))
307307
message(WARNING "Resetting Flang's default runtime library to use platform default.")

flang/cmake/modules/AddFlang.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ function(add_flang_library name)
5757
set(LIBTYPE SHARED)
5858
elseif(ARG_STATIC)
5959
# If BUILD_SHARED_LIBS and ARG_STATIC are both set, llvm_add_library prioritizes STATIC.
60-
# This is required behavior for libFortranFloat128Math.
60+
# This is required behavior for libflang_rt.quadmath.
6161
set(LIBTYPE STATIC)
6262
else()
6363
# Let llvm_add_library decide, taking BUILD_SHARED_LIBS into account.

flang/docs/FlangDriver.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -175,18 +175,18 @@ like this:
175175

176176
```
177177
$ flang -v -o example example.o
178-
"/usr/bin/ld" [...] example.o [...] "-lFortranRuntime" [...]
178+
"/usr/bin/ld" [...] example.o [...] "-lflang_rt.runtime" [...]
179179
```
180180

181181
The automatically added libraries are:
182182

183-
* `FortranRuntime`: Provides most of the Flang runtime library.
183+
* `flang_rt.runtime`: Provides most of the Flang runtime library.
184184

185185
If the code is C/C++ based and invokes Fortran routines, one can either use Clang
186186
or Flang as the linker driver. If Clang is used, it will automatically all
187187
required runtime libraries needed by C++ (e.g., for STL) to the linker invocation.
188188
In this case, one has to explicitly provide the Fortran runtime library
189-
`FortranRuntime`. An alternative is to use Flang to link.
189+
`flang_rt.runtime`. An alternative is to use Flang to link.
190190
In this case, it may be required to explicitly supply C++ runtime libraries.
191191

192192
On Darwin, the logical root where the system libraries are located (sysroot)

flang/docs/GettingStarted.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ cmake \
216216
-DCMAKE_CUDA_COMPILER=clang \
217217
-DCMAKE_CUDA_HOST_COMPILER=clang++ \
218218
../runtime/
219-
make -j FortranRuntime
219+
make -j flang-rt
220220
```
221221

222222
Note that the used version of `clang` must [support](https://releases.llvm.org/16.0.0/tools/clang/docs/ReleaseNotes.html#cuda-support)
@@ -239,7 +239,7 @@ cmake \
239239
-DCMAKE_CUDA_HOST_COMPILER=clang++ \
240240
../runtime/
241241

242-
make -j FortranRuntime
242+
make -j flang-rt
243243
```
244244

245245
Note that `nvcc` might limit support to certain
@@ -294,7 +294,7 @@ cmake \
294294
-DFLANG_OMP_DEVICE_ARCHITECTURES="all" \
295295
../runtime/
296296

297-
make -j FortranRuntime
297+
make -j flang-rt
298298
```
299299

300300
The result of the build is a "device-only" library, i.e. the host
@@ -309,7 +309,7 @@ The same set of CMake variables works for Flang in-tree build.
309309
One may provide optional CMake variables to customize the build. Available options:
310310

311311
* `-DFLANG_RUNTIME_F128_MATH_LIB=libquadmath`: enables build of
312-
`FortranFloat128Math` library that provides `REAL(16)` math APIs
312+
`flang_rt.quadmath` library that provides `REAL(16)` math APIs
313313
for intrinsics such as `SIN`, `COS`, etc. GCC `libquadmath`'s header file
314314
`quadmath.h` must be available to the build compiler.
315315
[More details](Real16MathSupport.md).

flang/docs/OpenACC-descriptor-management.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -427,7 +427,7 @@ The implementation's behavior may be described as (OpenACC 2.7.2):
427427
428428
All the "is-present" checks and the data actions for the auxiliary pointers must be performed atomically with regards to the present counters bookkeeping.
429429
430-
The API relies on the primitives provided by `liboffload`, so it is provided by a new F18 runtime library, e.g. `FortranOffloadRuntime`, that depends on `FortranRuntime` and `liboffload`. The F18 driver adds `FortranOffloadRuntime` for linking under `-fopenacc`/`-fopenmp` (and maybe additional switches like `-fopenmp-targets`).
430+
The API relies on the primitives provided by `liboffload`, so it is provided by a new F18 runtime library, e.g. `FortranOffloadRuntime`, that depends on `flang_rt.runtime` and `liboffload`. The F18 driver adds `FortranOffloadRuntime` for linking under `-fopenacc`/`-fopenmp` (and maybe additional switches like `-fopenmp-targets`).
431431
432432
## TODOs:
433433

flang/docs/Real16MathSupport.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ To support most `REAL(16)` (i.e. 128-bit float) math intrinsics Flang relies
1212
on third-party libraries providing the implementation.
1313

1414
`-DFLANG_RUNTIME_F128_MATH_LIB=libquadmath` CMake option can be used
15-
to build `FortranFloat128Math` library that has unresolved references
15+
to build `libflang_rt.quadmath` library that has unresolved references
1616
to GCC `libquadmath` library. A Flang driver built with this option
17-
will automatically link `FortranFloat128Math` and `libquadmath` libraries
17+
will automatically link `libflang_rt.quadmath` and `libquadmath` libraries
1818
to any Fortran program. This implies that `libquadmath` library
1919
has to be available in the standard library paths, so that linker
2020
can find it. The `libquadmath` library installation into Flang project

flang/docs/ReleaseNotes.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,13 @@ page](https://llvm.org/releases/).
3636

3737
## Build System Changes
3838

39+
* The FortranRuntime library has been renamed to `flang_rt.runtime`.
40+
41+
* The FortranFloat128Math library has been renamed to `flang_rt.quadmath`.
42+
43+
* The CufRuntime_cuda_${version} library has been renamed to
44+
`flang_rt.cuda_${version}`.
45+
3946
## New Issues Found
4047

4148

flang/examples/ExternalHelloWorld/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ add_llvm_example(external-hello-world
55

66
target_link_libraries(external-hello-world
77
PRIVATE
8-
FortranRuntime
8+
flang_rt.runtime
99
)

flang/lib/Optimizer/Builder/IntrinsicCall.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -809,8 +809,8 @@ prettyPrintIntrinsicName(fir::FirOpBuilder &builder, mlir::Location loc,
809809
// Generate a call to the Fortran runtime library providing
810810
// support for 128-bit float math.
811811
// On 'HAS_LDBL128' targets the implementation
812-
// is provided by FortranRuntime, otherwise, it is done via
813-
// FortranFloat128Math library. In the latter case the compiler
812+
// is provided by flang_rt, otherwise, it is done via the
813+
// libflang_rt.quadmath library. In the latter case the compiler
814814
// has to be built with FLANG_RUNTIME_F128_MATH_LIB to guarantee
815815
// proper linking actions in the driver.
816816
static mlir::Value genLibF128Call(fir::FirOpBuilder &builder,

flang/runtime/CMakeLists.txt

Lines changed: 35 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -241,13 +241,13 @@ set(supported_files
241241
utf.cpp
242242
)
243243

244-
enable_cuda_compilation(FortranRuntime "${supported_files}")
244+
enable_cuda_compilation(flang_rt "${supported_files}")
245245
enable_omp_offload_compilation("${supported_files}")
246246

247-
if (NOT TARGET FortranFloat128Math)
248-
# If FortranFloat128Math is not defined, then we are not building
249-
# standalone FortranFloat128Math library. Instead, include
250-
# the relevant sources into FortranRuntime itself.
247+
if (NOT TARGET flang_rt.quadmath)
248+
# If flang_rt.quadmath is not defined, then we are not building
249+
# standalone flang_rt.quadmath library. Instead, include
250+
# the relevant sources into flang_rt.runtime itself.
251251
# The information is provided via FortranFloat128MathILib
252252
# interface library.
253253
get_target_property(f128_sources
@@ -275,51 +275,66 @@ if (NOT TARGET FortranFloat128Math)
275275
endif()
276276

277277
if (NOT DEFINED MSVC)
278-
add_flang_library(FortranRuntime
278+
add_flang_library(flang_rt.runtime
279279
${sources}
280280
LINK_LIBS
281281
${linked_libraries}
282282

283283
INSTALL_WITH_TOOLCHAIN
284284
)
285285
else()
286-
add_flang_library(FortranRuntime
286+
add_flang_library(flang_rt.runtime
287287
${sources}
288288
LINK_LIBS
289289
${linked_libraries}
290290
)
291291
set(CMAKE_MSVC_RUNTIME_LIBRARY MultiThreaded)
292-
add_flang_library(FortranRuntime.static ${sources}
292+
add_flang_library(flang_rt.runtime.static ${sources}
293293
INSTALL_WITH_TOOLCHAIN)
294-
set_target_properties(FortranRuntime.static PROPERTIES FOLDER "Flang/Runtime Libraries")
294+
set_target_properties(flang_rt.runtime.static PROPERTIES FOLDER "Flang/Runtime Libraries")
295295
set(CMAKE_MSVC_RUNTIME_LIBRARY MultiThreadedDLL)
296-
add_flang_library(FortranRuntime.dynamic ${sources}
296+
add_flang_library(flang_rt.runtime.dynamic ${sources}
297297
INSTALL_WITH_TOOLCHAIN)
298-
set_target_properties(FortranRuntime.dynamic PROPERTIES FOLDER "Flang/Runtime Libraries")
298+
set_target_properties(flang_rt.runtime.dynamic PROPERTIES FOLDER "Flang/Runtime Libraries")
299299
set(CMAKE_MSVC_RUNTIME_LIBRARY MultiThreadedDebug)
300-
add_flang_library(FortranRuntime.static_dbg ${sources}
300+
add_flang_library(flang_rt.runtime.static_dbg ${sources}
301301
INSTALL_WITH_TOOLCHAIN)
302-
set_target_properties(FortranRuntime.static_dbg PROPERTIES FOLDER "Flang/Runtime Libraries")
302+
set_target_properties(flang_rt.runtime.static_dbg PROPERTIES FOLDER "Flang/Runtime Libraries")
303303
set(CMAKE_MSVC_RUNTIME_LIBRARY MultiThreadedDebugDLL)
304-
add_flang_library(FortranRuntime.dynamic_dbg ${sources}
304+
add_flang_library(flang_rt.runtime.dynamic_dbg ${sources}
305305
INSTALL_WITH_TOOLCHAIN)
306-
set_target_properties(FortranRuntime.dynamic_dbg PROPERTIES FOLDER "Flang/Runtime Libraries")
307-
add_dependencies(FortranRuntime FortranRuntime.static FortranRuntime.dynamic
308-
FortranRuntime.static_dbg FortranRuntime.dynamic_dbg)
306+
set_target_properties(flang_rt.runtime.dynamic_dbg PROPERTIES FOLDER "Flang/Runtime Libraries")
307+
add_dependencies(flang_rt.runtime
308+
flang_rt.runtime.static
309+
flang_rt.runtime.dynamic
310+
flang_rt.runtime.static_dbg
311+
flang_rt.runtime.dynamic_dbg)
309312
endif()
310-
set_target_properties(FortranRuntime PROPERTIES FOLDER "Flang/Runtime Libraries")
313+
set_target_properties(flang_rt.runtime PROPERTIES FOLDER "Flang/Runtime Libraries")
311314

312-
# If FortranRuntime is part of a Flang build (and not a separate build) then
315+
# If flang_rt is part of a Flang build (and not a separate build) then
313316
# add dependency to make sure that Fortran runtime library is being built after
314317
# we have the Flang compiler available. This also includes the MODULE files
315318
# that compile when the 'flang' target is built.
316319
#
317320
# TODO: This is a workaround and should be updated when runtime build procedure
318321
# is changed to a regular runtime build. See discussion in PR #95388.
319322
if (TARGET flang AND TARGET module_files)
320-
add_dependencies(FortranRuntime flang module_files)
323+
add_dependencies(flang_rt.runtime flang module_files)
321324
endif()
322325

323326
if (FLANG_CUF_RUNTIME)
324327
add_subdirectory(CUDA)
325328
endif()
329+
330+
# Compatibility targets.
331+
add_custom_target(flang-rt)
332+
add_dependencies(flang-rt flang_rt.runtime)
333+
if (TARGET flang_rt.quadmath)
334+
add_dependencies(flang-rt flang_rt.quadmath)
335+
endif ()
336+
if (TARGET flang_rt.cuda_${CUDAToolkit_VERSION_MAJOR})
337+
add_dependencies(flang-rt flang_rt.cuda_${CUDAToolkit_VERSION_MAJOR})
338+
endif ()
339+
add_custom_target(FortranRuntime)
340+
add_dependencies(FortranRuntime flang_rt.runtime)

flang/runtime/CUDA/CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@
88

99
include_directories(${CUDAToolkit_INCLUDE_DIRS})
1010

11-
# libCufRuntime depends on a certain version of CUDA. To be able to have
11+
# libflang_rt.cuda depends on a certain version of CUDA. To be able to have
1212
# multiple build of this library with different CUDA version, the version is
1313
# added to the library name.
14-
set(CUFRT_LIBNAME CufRuntime_cuda_${CUDAToolkit_VERSION_MAJOR})
14+
set(CUFRT_LIBNAME flang_rt.cuda_${CUDAToolkit_VERSION_MAJOR})
1515

1616
add_flang_library(${CUFRT_LIBNAME}
1717
allocator.cpp
@@ -33,6 +33,6 @@ endif()
3333

3434
target_link_libraries(${CUFRT_LIBNAME}
3535
PRIVATE
36-
FortranRuntime
36+
flang_rt.runtime
3737
${CUDA_RT_TARGET}
3838
)

flang/runtime/Float128Math/CMakeLists.txt

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# It is distributed as a static library only.
1313
# Fortran programs/libraries that end up linking any of the provided
1414
# will have a dependency on the third-party library that is being
15-
# used for building this FortranFloat128Math library.
15+
# used for building this flang_rt.quadmath library.
1616

1717
include(CheckLibraryExists)
1818

@@ -93,20 +93,20 @@ if (FLANG_RUNTIME_F128_MATH_LIB)
9393
)
9494
endif()
9595

96-
add_flang_library(FortranFloat128Math STATIC INSTALL_WITH_TOOLCHAIN
96+
add_flang_library(flang_rt.quadmath STATIC INSTALL_WITH_TOOLCHAIN
9797
${sources})
9898

9999
if (DEFINED MSVC)
100100
set(CMAKE_MSVC_RUNTIME_LIBRARY MultiThreaded)
101-
add_flang_library(FortranFloat128Math.static STATIC INSTALL_WITH_TOOLCHAIN
101+
add_flang_library(flang_rt.quadmath.static STATIC INSTALL_WITH_TOOLCHAIN
102102
${sources}
103103
)
104104
set(CMAKE_MSVC_RUNTIME_LIBRARY MultiThreadedDebug)
105-
add_flang_library(FortranFloat128Math.static_dbg STATIC INSTALL_WITH_TOOLCHAIN
105+
add_flang_library(flang_rt.quadmath.static_dbg STATIC INSTALL_WITH_TOOLCHAIN
106106
${sources}
107107
)
108-
add_dependencies(FortranFloat128Math FortranFloat128Math.static
109-
FortranFloat128Math.static_dbg
108+
add_dependencies(flang_rt.quadmath flang_rt.quadmath.static
109+
flang_rt.quadmath.static_dbg
110110
)
111111
endif()
112112
elseif (HAVE_LDBL_MANT_DIG_113)
@@ -118,7 +118,7 @@ elseif (HAVE_LDBL_MANT_DIG_113)
118118
)
119119
target_sources(FortranFloat128MathILib INTERFACE ${sources})
120120
else()
121-
message(FATAL_ERROR "FortranRuntime cannot build without libm")
121+
message(FATAL_ERROR "flang_rt.quadmath cannot build without libm")
122122
endif()
123123
else()
124124
# We can use '__float128' version from libc, if it has them.

flang/runtime/time-intrinsic.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ template <typename Unused = void> double GetCpuTime(fallback_implementation) {
6262

6363
#if defined __MINGW32__
6464
// clock_gettime is implemented in the pthread library for MinGW.
65-
// Using it here would mean that all programs that link libFortranRuntime are
65+
// Using it here would mean that all programs that link libflang_rt are
6666
// required to also link to pthread. Instead, don't use the function.
6767
#undef CLOCKID_CPU_TIME
6868
#undef CLOCKID_ELAPSED_TIME

flang/runtime/tools.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ inline RT_API_ATTRS RESULT ApplyFloatingPointKind(
348348
if constexpr (HasCppTypeFor<TypeCategory::Real, 16>) {
349349
// If FUNC implemenation relies on FP math functions,
350350
// then we should not be here. The compiler should have
351-
// generated a call to an entry in FortranFloat128Math
351+
// generated a call to an entry in flang_rt.quadmath
352352
// library.
353353
if constexpr (!NEEDSMATH) {
354354
return FUNC<16>{}(std::forward<A>(x)...);

0 commit comments

Comments
 (0)