[all-commits] [llvm/llvm-project] 54f371: [Flang][NFC] Move runtime library files to flang-r...
Michael Kruse via All-commits
all-commits at lists.llvm.org
Sun Feb 16 04:25:52 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 54f37133b7b05f82960f47bc980c4a1aaa7d04df
https://github.com/llvm/llvm-project/commit/54f37133b7b05f82960f47bc980c4a1aaa7d04df
Author: Michael Kruse <llvm-project at meinersbur.de>
Date: 2025-02-16 (Sun, 16 Feb 2025)
Changed paths:
A flang-rt/.clang-format
A flang-rt/cmake/config.h.cmake.in
A flang-rt/examples/ExternalHelloWorld/external-hello.cpp
A flang-rt/include/flang-rt/runtime/allocator-registry.h
A flang-rt/include/flang-rt/runtime/array-constructor.h
A flang-rt/include/flang-rt/runtime/assign-impl.h
A flang-rt/include/flang-rt/runtime/buffer.h
A flang-rt/include/flang-rt/runtime/connection.h
A flang-rt/include/flang-rt/runtime/derived.h
A flang-rt/include/flang-rt/runtime/descriptor.h
A flang-rt/include/flang-rt/runtime/emit-encoded.h
A flang-rt/include/flang-rt/runtime/environment.h
A flang-rt/include/flang-rt/runtime/file.h
A flang-rt/include/flang-rt/runtime/format-implementation.h
A flang-rt/include/flang-rt/runtime/format.h
A flang-rt/include/flang-rt/runtime/internal-unit.h
A flang-rt/include/flang-rt/runtime/io-error.h
A flang-rt/include/flang-rt/runtime/io-stmt.h
A flang-rt/include/flang-rt/runtime/lock.h
A flang-rt/include/flang-rt/runtime/memory.h
A flang-rt/include/flang-rt/runtime/namelist.h
A flang-rt/include/flang-rt/runtime/non-tbp-dio.h
A flang-rt/include/flang-rt/runtime/numeric-templates.h
A flang-rt/include/flang-rt/runtime/random-templates.h
A flang-rt/include/flang-rt/runtime/reduction-templates.h
A flang-rt/include/flang-rt/runtime/stat.h
A flang-rt/include/flang-rt/runtime/terminator.h
A flang-rt/include/flang-rt/runtime/tools.h
A flang-rt/include/flang-rt/runtime/type-code.h
A flang-rt/include/flang-rt/runtime/type-info.h
A flang-rt/include/flang-rt/runtime/utf.h
A flang-rt/lib/cuda/allocatable.cpp
A flang-rt/lib/cuda/allocator.cpp
A flang-rt/lib/cuda/descriptor.cpp
A flang-rt/lib/cuda/init.cpp
A flang-rt/lib/cuda/kernel.cpp
A flang-rt/lib/cuda/memmove-function.cpp
A flang-rt/lib/cuda/memory.cpp
A flang-rt/lib/cuda/pointer.cpp
A flang-rt/lib/cuda/registration.cpp
A flang-rt/lib/quadmath/acos.cpp
A flang-rt/lib/quadmath/acosh.cpp
A flang-rt/lib/quadmath/asin.cpp
A flang-rt/lib/quadmath/asinh.cpp
A flang-rt/lib/quadmath/atan.cpp
A flang-rt/lib/quadmath/atan2.cpp
A flang-rt/lib/quadmath/atanh.cpp
A flang-rt/lib/quadmath/ceil.cpp
A flang-rt/lib/quadmath/complex-math.c
A flang-rt/lib/quadmath/complex-math.h
A flang-rt/lib/quadmath/cos.cpp
A flang-rt/lib/quadmath/cosh.cpp
A flang-rt/lib/quadmath/erf.cpp
A flang-rt/lib/quadmath/erfc.cpp
A flang-rt/lib/quadmath/exp.cpp
A flang-rt/lib/quadmath/exponent.cpp
A flang-rt/lib/quadmath/floor.cpp
A flang-rt/lib/quadmath/fma.cpp
A flang-rt/lib/quadmath/fraction.cpp
A flang-rt/lib/quadmath/hypot.cpp
A flang-rt/lib/quadmath/j0.cpp
A flang-rt/lib/quadmath/j1.cpp
A flang-rt/lib/quadmath/jn.cpp
A flang-rt/lib/quadmath/lgamma.cpp
A flang-rt/lib/quadmath/llround.cpp
A flang-rt/lib/quadmath/log.cpp
A flang-rt/lib/quadmath/log10.cpp
A flang-rt/lib/quadmath/lround.cpp
A flang-rt/lib/quadmath/math-entries.h
A flang-rt/lib/quadmath/mod-real.cpp
A flang-rt/lib/quadmath/modulo-real.cpp
A flang-rt/lib/quadmath/nearbyint.cpp
A flang-rt/lib/quadmath/nearest.cpp
A flang-rt/lib/quadmath/norm2.cpp
A flang-rt/lib/quadmath/numeric-template-specs.h
A flang-rt/lib/quadmath/pow.cpp
A flang-rt/lib/quadmath/random.cpp
A flang-rt/lib/quadmath/remainder.cpp
A flang-rt/lib/quadmath/round.cpp
A flang-rt/lib/quadmath/rrspacing.cpp
A flang-rt/lib/quadmath/scale.cpp
A flang-rt/lib/quadmath/set-exponent.cpp
A flang-rt/lib/quadmath/sin.cpp
A flang-rt/lib/quadmath/sinh.cpp
A flang-rt/lib/quadmath/spacing.cpp
A flang-rt/lib/quadmath/sqrt.cpp
A flang-rt/lib/quadmath/tan.cpp
A flang-rt/lib/quadmath/tanh.cpp
A flang-rt/lib/quadmath/tgamma.cpp
A flang-rt/lib/quadmath/trunc.cpp
A flang-rt/lib/quadmath/y0.cpp
A flang-rt/lib/quadmath/y1.cpp
A flang-rt/lib/quadmath/yn.cpp
A flang-rt/lib/runtime/ISO_Fortran_binding.cpp
A flang-rt/lib/runtime/ISO_Fortran_util.h
A flang-rt/lib/runtime/allocatable.cpp
A flang-rt/lib/runtime/allocator-registry.cpp
A flang-rt/lib/runtime/array-constructor.cpp
A flang-rt/lib/runtime/assign.cpp
A flang-rt/lib/runtime/buffer.cpp
A flang-rt/lib/runtime/character.cpp
A flang-rt/lib/runtime/command.cpp
A flang-rt/lib/runtime/complex-powi.cpp
A flang-rt/lib/runtime/complex-reduction.c
A flang-rt/lib/runtime/complex-reduction.h
A flang-rt/lib/runtime/connection.cpp
A flang-rt/lib/runtime/copy.cpp
A flang-rt/lib/runtime/copy.h
A flang-rt/lib/runtime/derived-api.cpp
A flang-rt/lib/runtime/derived.cpp
A flang-rt/lib/runtime/descriptor-io.cpp
A flang-rt/lib/runtime/descriptor-io.h
A flang-rt/lib/runtime/descriptor.cpp
A flang-rt/lib/runtime/dot-product.cpp
A flang-rt/lib/runtime/edit-input.cpp
A flang-rt/lib/runtime/edit-input.h
A flang-rt/lib/runtime/edit-output.cpp
A flang-rt/lib/runtime/edit-output.h
A flang-rt/lib/runtime/environment-default-list.h
A flang-rt/lib/runtime/environment.cpp
A flang-rt/lib/runtime/exceptions.cpp
A flang-rt/lib/runtime/execute.cpp
A flang-rt/lib/runtime/extensions.cpp
A flang-rt/lib/runtime/external-unit.cpp
A flang-rt/lib/runtime/extrema.cpp
A flang-rt/lib/runtime/file.cpp
A flang-rt/lib/runtime/findloc.cpp
A flang-rt/lib/runtime/format.cpp
A flang-rt/lib/runtime/inquiry.cpp
A flang-rt/lib/runtime/internal-unit.cpp
A flang-rt/lib/runtime/io-api-common.h
A flang-rt/lib/runtime/io-api-minimal.cpp
A flang-rt/lib/runtime/io-api.cpp
A flang-rt/lib/runtime/io-error.cpp
A flang-rt/lib/runtime/io-stmt.cpp
A flang-rt/lib/runtime/iostat.cpp
A flang-rt/lib/runtime/main.cpp
A flang-rt/lib/runtime/matmul-transpose.cpp
A flang-rt/lib/runtime/matmul.cpp
A flang-rt/lib/runtime/memory.cpp
A flang-rt/lib/runtime/misc-intrinsic.cpp
A flang-rt/lib/runtime/namelist.cpp
A flang-rt/lib/runtime/non-tbp-dio.cpp
A flang-rt/lib/runtime/numeric.cpp
A flang-rt/lib/runtime/pointer.cpp
A flang-rt/lib/runtime/product.cpp
A flang-rt/lib/runtime/pseudo-unit.cpp
A flang-rt/lib/runtime/ragged.cpp
A flang-rt/lib/runtime/random.cpp
A flang-rt/lib/runtime/reduce.cpp
A flang-rt/lib/runtime/reduction.cpp
A flang-rt/lib/runtime/stack.h
A flang-rt/lib/runtime/stat.cpp
A flang-rt/lib/runtime/stop.cpp
A flang-rt/lib/runtime/sum.cpp
A flang-rt/lib/runtime/support.cpp
A flang-rt/lib/runtime/temporary-stack.cpp
A flang-rt/lib/runtime/terminator.cpp
A flang-rt/lib/runtime/time-intrinsic.cpp
A flang-rt/lib/runtime/tools.cpp
A flang-rt/lib/runtime/transformational.cpp
A flang-rt/lib/runtime/type-code.cpp
A flang-rt/lib/runtime/type-info.cpp
A flang-rt/lib/runtime/unit-map.cpp
A flang-rt/lib/runtime/unit-map.h
A flang-rt/lib/runtime/unit.cpp
A flang-rt/lib/runtime/unit.h
A flang-rt/lib/runtime/utf.cpp
A flang-rt/test/Driver/ctofortran.f90
A flang-rt/test/Driver/exec.f90
A flang-rt/test/Runtime/no-cpp-dep.c
A flang-rt/unittests/Evaluate/ISO-Fortran-binding.cpp
A flang-rt/unittests/Evaluate/reshape.cpp
A flang-rt/unittests/Runtime/AccessTest.cpp
A flang-rt/unittests/Runtime/Allocatable.cpp
A flang-rt/unittests/Runtime/ArrayConstructor.cpp
A flang-rt/unittests/Runtime/BufferTest.cpp
A flang-rt/unittests/Runtime/CUDA/Allocatable.cpp
A flang-rt/unittests/Runtime/CUDA/AllocatorCUF.cpp
A flang-rt/unittests/Runtime/CUDA/Memory.cpp
A flang-rt/unittests/Runtime/CharacterTest.cpp
A flang-rt/unittests/Runtime/CommandTest.cpp
A flang-rt/unittests/Runtime/Complex.cpp
A flang-rt/unittests/Runtime/CrashHandlerFixture.cpp
A flang-rt/unittests/Runtime/CrashHandlerFixture.h
A flang-rt/unittests/Runtime/Derived.cpp
A flang-rt/unittests/Runtime/ExternalIOTest.cpp
A flang-rt/unittests/Runtime/Format.cpp
A flang-rt/unittests/Runtime/Inquiry.cpp
A flang-rt/unittests/Runtime/ListInputTest.cpp
A flang-rt/unittests/Runtime/LogicalFormatTest.cpp
A flang-rt/unittests/Runtime/Matmul.cpp
A flang-rt/unittests/Runtime/MatmulTranspose.cpp
A flang-rt/unittests/Runtime/MiscIntrinsic.cpp
A flang-rt/unittests/Runtime/Namelist.cpp
A flang-rt/unittests/Runtime/Numeric.cpp
A flang-rt/unittests/Runtime/NumericalFormatTest.cpp
A flang-rt/unittests/Runtime/Pointer.cpp
A flang-rt/unittests/Runtime/Ragged.cpp
A flang-rt/unittests/Runtime/Random.cpp
A flang-rt/unittests/Runtime/Reduction.cpp
A flang-rt/unittests/Runtime/RuntimeCrashTest.cpp
A flang-rt/unittests/Runtime/Stop.cpp
A flang-rt/unittests/Runtime/Support.cpp
A flang-rt/unittests/Runtime/TemporaryStack.cpp
A flang-rt/unittests/Runtime/Time.cpp
A flang-rt/unittests/Runtime/Transformational.cpp
A flang-rt/unittests/Runtime/tools.h
M flang/CMakeLists.txt
M flang/examples/ExternalHelloWorld/CMakeLists.txt
R flang/examples/ExternalHelloWorld/external-hello.cpp
M flang/include/flang/Runtime/allocatable.h
R flang/include/flang/Runtime/allocator-registry.h
R flang/include/flang/Runtime/array-constructor.h
M flang/include/flang/Runtime/descriptor-consts.h
R flang/include/flang/Runtime/descriptor.h
R flang/include/flang/Runtime/memory.h
M flang/include/flang/Runtime/pointer.h
R flang/include/flang/Runtime/type-code.h
M flang/runtime/CMakeLists.txt
M flang/runtime/CUDA/CMakeLists.txt
R flang/runtime/CUDA/allocatable.cpp
R flang/runtime/CUDA/allocator.cpp
R flang/runtime/CUDA/descriptor.cpp
R flang/runtime/CUDA/init.cpp
R flang/runtime/CUDA/kernel.cpp
R flang/runtime/CUDA/memmove-function.cpp
R flang/runtime/CUDA/memory.cpp
R flang/runtime/CUDA/pointer.cpp
R flang/runtime/CUDA/registration.cpp
M flang/runtime/Float128Math/CMakeLists.txt
R flang/runtime/Float128Math/acos.cpp
R flang/runtime/Float128Math/acosh.cpp
R flang/runtime/Float128Math/asin.cpp
R flang/runtime/Float128Math/asinh.cpp
R flang/runtime/Float128Math/atan.cpp
R flang/runtime/Float128Math/atan2.cpp
R flang/runtime/Float128Math/atanh.cpp
R flang/runtime/Float128Math/ceil.cpp
R flang/runtime/Float128Math/complex-math.c
R flang/runtime/Float128Math/complex-math.h
R flang/runtime/Float128Math/cos.cpp
R flang/runtime/Float128Math/cosh.cpp
R flang/runtime/Float128Math/erf.cpp
R flang/runtime/Float128Math/erfc.cpp
R flang/runtime/Float128Math/exp.cpp
R flang/runtime/Float128Math/exponent.cpp
R flang/runtime/Float128Math/floor.cpp
R flang/runtime/Float128Math/fma.cpp
R flang/runtime/Float128Math/fraction.cpp
R flang/runtime/Float128Math/hypot.cpp
R flang/runtime/Float128Math/j0.cpp
R flang/runtime/Float128Math/j1.cpp
R flang/runtime/Float128Math/jn.cpp
R flang/runtime/Float128Math/lgamma.cpp
R flang/runtime/Float128Math/llround.cpp
R flang/runtime/Float128Math/log.cpp
R flang/runtime/Float128Math/log10.cpp
R flang/runtime/Float128Math/lround.cpp
R flang/runtime/Float128Math/math-entries.h
R flang/runtime/Float128Math/mod-real.cpp
R flang/runtime/Float128Math/modulo-real.cpp
R flang/runtime/Float128Math/nearbyint.cpp
R flang/runtime/Float128Math/nearest.cpp
R flang/runtime/Float128Math/norm2.cpp
R flang/runtime/Float128Math/numeric-template-specs.h
R flang/runtime/Float128Math/pow.cpp
R flang/runtime/Float128Math/random.cpp
R flang/runtime/Float128Math/remainder.cpp
R flang/runtime/Float128Math/round.cpp
R flang/runtime/Float128Math/rrspacing.cpp
R flang/runtime/Float128Math/scale.cpp
R flang/runtime/Float128Math/set-exponent.cpp
R flang/runtime/Float128Math/sin.cpp
R flang/runtime/Float128Math/sinh.cpp
R flang/runtime/Float128Math/spacing.cpp
R flang/runtime/Float128Math/sqrt.cpp
R flang/runtime/Float128Math/tan.cpp
R flang/runtime/Float128Math/tanh.cpp
R flang/runtime/Float128Math/tgamma.cpp
R flang/runtime/Float128Math/trunc.cpp
R flang/runtime/Float128Math/y0.cpp
R flang/runtime/Float128Math/y1.cpp
R flang/runtime/Float128Math/yn.cpp
R flang/runtime/ISO_Fortran_binding.cpp
R flang/runtime/ISO_Fortran_util.h
R flang/runtime/allocatable.cpp
R flang/runtime/allocator-registry.cpp
R flang/runtime/array-constructor.cpp
R flang/runtime/assign-impl.h
R flang/runtime/assign.cpp
R flang/runtime/buffer.cpp
R flang/runtime/buffer.h
R flang/runtime/character.cpp
R flang/runtime/command.cpp
R flang/runtime/complex-powi.cpp
R flang/runtime/complex-reduction.c
R flang/runtime/complex-reduction.h
R flang/runtime/config.h.cmake
R flang/runtime/connection.cpp
R flang/runtime/connection.h
R flang/runtime/copy.cpp
R flang/runtime/copy.h
R flang/runtime/derived-api.cpp
R flang/runtime/derived.cpp
R flang/runtime/derived.h
R flang/runtime/descriptor-io.cpp
R flang/runtime/descriptor-io.h
R flang/runtime/descriptor.cpp
R flang/runtime/dot-product.cpp
R flang/runtime/edit-input.cpp
R flang/runtime/edit-input.h
R flang/runtime/edit-output.cpp
R flang/runtime/edit-output.h
R flang/runtime/emit-encoded.h
R flang/runtime/environment-default-list.h
R flang/runtime/environment.cpp
R flang/runtime/environment.h
R flang/runtime/exceptions.cpp
R flang/runtime/execute.cpp
R flang/runtime/extensions.cpp
R flang/runtime/external-unit.cpp
R flang/runtime/extrema.cpp
R flang/runtime/file.cpp
R flang/runtime/file.h
R flang/runtime/findloc.cpp
R flang/runtime/format-implementation.h
R flang/runtime/format.cpp
R flang/runtime/format.h
R flang/runtime/inquiry.cpp
R flang/runtime/internal-unit.cpp
R flang/runtime/internal-unit.h
R flang/runtime/io-api-common.h
R flang/runtime/io-api-minimal.cpp
R flang/runtime/io-api.cpp
R flang/runtime/io-error.cpp
R flang/runtime/io-error.h
R flang/runtime/io-stmt.cpp
R flang/runtime/io-stmt.h
R flang/runtime/iostat.cpp
R flang/runtime/lock.h
R flang/runtime/main.cpp
R flang/runtime/matmul-transpose.cpp
R flang/runtime/matmul.cpp
R flang/runtime/memory.cpp
R flang/runtime/misc-intrinsic.cpp
R flang/runtime/namelist.cpp
R flang/runtime/namelist.h
R flang/runtime/non-tbp-dio.cpp
R flang/runtime/non-tbp-dio.h
R flang/runtime/numeric-templates.h
R flang/runtime/numeric.cpp
R flang/runtime/pointer.cpp
R flang/runtime/product.cpp
R flang/runtime/pseudo-unit.cpp
R flang/runtime/ragged.cpp
R flang/runtime/random-templates.h
R flang/runtime/random.cpp
R flang/runtime/reduce.cpp
R flang/runtime/reduction-templates.h
R flang/runtime/reduction.cpp
R flang/runtime/stack.h
R flang/runtime/stat.cpp
R flang/runtime/stat.h
R flang/runtime/stop.cpp
R flang/runtime/sum.cpp
R flang/runtime/support.cpp
R flang/runtime/temporary-stack.cpp
R flang/runtime/terminator.cpp
R flang/runtime/terminator.h
R flang/runtime/time-intrinsic.cpp
R flang/runtime/tools.cpp
R flang/runtime/tools.h
R flang/runtime/transformational.cpp
R flang/runtime/type-code.cpp
R flang/runtime/type-info.cpp
R flang/runtime/type-info.h
R flang/runtime/unit-map.cpp
R flang/runtime/unit-map.h
R flang/runtime/unit.cpp
R flang/runtime/unit.h
R flang/runtime/utf.cpp
R flang/runtime/utf.h
R flang/test/Driver/ctofortran.f90
R flang/test/Driver/exec.f90
R flang/test/Runtime/no-cpp-dep.c
M flang/unittests/CMakeLists.txt
R flang/unittests/Evaluate/ISO-Fortran-binding.cpp
R flang/unittests/Evaluate/reshape.cpp
R flang/unittests/Runtime/AccessTest.cpp
R flang/unittests/Runtime/Allocatable.cpp
R flang/unittests/Runtime/ArrayConstructor.cpp
R flang/unittests/Runtime/BufferTest.cpp
M flang/unittests/Runtime/CMakeLists.txt
R flang/unittests/Runtime/CUDA/Allocatable.cpp
R flang/unittests/Runtime/CUDA/AllocatorCUF.cpp
M flang/unittests/Runtime/CUDA/CMakeLists.txt
R flang/unittests/Runtime/CUDA/Memory.cpp
R flang/unittests/Runtime/CharacterTest.cpp
R flang/unittests/Runtime/CommandTest.cpp
R flang/unittests/Runtime/Complex.cpp
R flang/unittests/Runtime/CrashHandlerFixture.cpp
R flang/unittests/Runtime/CrashHandlerFixture.h
R flang/unittests/Runtime/Derived.cpp
R flang/unittests/Runtime/ExternalIOTest.cpp
R flang/unittests/Runtime/Format.cpp
R flang/unittests/Runtime/Inquiry.cpp
R flang/unittests/Runtime/ListInputTest.cpp
R flang/unittests/Runtime/LogicalFormatTest.cpp
R flang/unittests/Runtime/Matmul.cpp
R flang/unittests/Runtime/MatmulTranspose.cpp
R flang/unittests/Runtime/MiscIntrinsic.cpp
R flang/unittests/Runtime/Namelist.cpp
R flang/unittests/Runtime/Numeric.cpp
R flang/unittests/Runtime/NumericalFormatTest.cpp
R flang/unittests/Runtime/Pointer.cpp
R flang/unittests/Runtime/Ragged.cpp
R flang/unittests/Runtime/Random.cpp
R flang/unittests/Runtime/Reduction.cpp
R flang/unittests/Runtime/RuntimeCrashTest.cpp
R flang/unittests/Runtime/Stop.cpp
R flang/unittests/Runtime/Support.cpp
R flang/unittests/Runtime/TemporaryStack.cpp
R flang/unittests/Runtime/Time.cpp
R flang/unittests/Runtime/Transformational.cpp
R flang/unittests/Runtime/tools.h
Log Message:
-----------
[Flang][NFC] Move runtime library files to flang-rt (#110298)
Mostly mechanical changes in preparation of extracting the Flang-RT
"subproject" in #110217. This PR intends to only move pre-existing files
to the new folder structure, with no behavioral change. Common files
(headers, testing, cmake) shared by Flang-RT and Flang remain in
`flang/`.
Some cosmetic changes and files paths were necessary:
* Relative paths to the new path for the source files and
`add_subdirectory`.
* Add the new location's include directory to `include_directories`
* The unittest/Evaluate directory has unitests for flang-rt and Flang. A
new `CMakeLists.txt` was introduced for the flang-rt tests.
* Change the `#include` paths relative to the include directive
* clang-format on the `#include` directives
* Since the paths are part if the copyright header and include guards, a
script was used to canonicalize those
* `test/Runtime` and runtime tests in `test/Driver` are moved, but the
lit.cfg.py mechanism to execute the will only be added in #110217.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list