aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineScheduler.cpp
diff options
context:
space:
mode:
authorMichael Kruse <llvm-project@meinersbur.de>2024-12-05 11:29:32 +0100
committerGitHub <noreply@github.com>2024-12-05 11:29:32 +0100
commit0cda970ecc8a885acf7298a61370a1368b0ea39b (patch)
tree58fd82eb585a476c743b7041a1dc512fad9c2a09 /llvm/lib/CodeGen/MachineScheduler.cpp
parent17dfdd3a86e0759ce67e54ca53f6174769ed7285 (diff)
downloadllvm-0cda970ecc8a885acf7298a61370a1368b0ea39b.zip
llvm-0cda970ecc8a885acf7298a61370a1368b0ea39b.tar.gz
llvm-0cda970ecc8a885acf7298a61370a1368b0ea39b.tar.bz2
[Flang][NFC] Split common headers to reduce dependencies. (#110244)
Fortran.h and target.h are defining symbols where some are used by both, the Fortran runtime (Flang-RT) and Fortran compiler (Flang), and others are used by Flang only. With the upcoming refactoring of the Fortran runtime into its own subproject (#110217), move the declarations that are used by both into new headers to minimize the amount of code that will need to be shared by Flang-RT and Flang. Details: * `Fortran.h`: Flang-RT only uses some enum definitions out of this file, but not `AsFortran` which is defined in `Fortran.cpp`. Moving the enums into `Fortran-consts.h` allows keeping `Fortran.cpp` within Flang. * `target.h`: Contains some floating-point definitions that is used by the non-GTest unittests in `fp-testing.h`. Flang-RT also uses some non-GTest as well. Moving those definitions avoids the dependence on the entire FortranEvaluate library.
Diffstat (limited to 'llvm/lib/CodeGen/MachineScheduler.cpp')
0 files changed, 0 insertions, 0 deletions