VV Donaldson[flang] Intrinsic module file update
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
[flang][NFC] Get formatting in sync with latest clang-format flang/module only contains Fortran files and one is a .h so disable formatting on that directory. Differential Revision: https://reviews.llvm.org/D82989 | 5 年前 | |
[flang] Update intrinsic module source files The f18 standard defines several intrinsic modules containing definitions and declarations for various constants, types, and procedures. This PR adds declarations for missing procedures in these modules. | 4 年前 | |
[flang] Intrinsic module file update Use symbolic iostat values in iso_fortran_env.f90. Add generic names to the interfaces in __fortran_ieee_exceptions.f90. | 3 年前 | |
[flang] Make builtin types more easily accessible; use them Rearrange the contents of __builtin_* module files a little and make sure that semantics implicitly USEs the module __Fortran_builtins before processing each source file. This ensures that the special derived types for TEAM_TYPE, EVENT_TYPE, LOCK_TYPE, &c. exist in the symbol table where they will be available for use in coarray intrinsic function processing. Update IsTeamType() to exploit access to the __Fortran_builtins module rather than applying ad hoc name tests. Move it and some other utilities from Semantics/tools.* to Evaluate/tools.* to make them available to intrinsics processing. Add/correct the intrinsic table definitions for GET_TEAM, TEAM_NUMBER, and THIS_IMAGE to exercise the built-in TEAM_TYPE as an argument and as a result. Add/correct/extend tests accordingly. Differential Revision: https://reviews.llvm.org/D110356 | 4 年前 | |
[flang] Keep PURE in IEEE functions PURE keyword should be kept in __fortran_ieee_exceptions.f90 and ieee_arithmetic.f90 and not removed as done in https://reviews.llvm.org/D128431 Reviewed By: vdonaldson Differential Revision: https://reviews.llvm.org/D128498 | 3 年前 | |
[flang] IEEE_ARITHMETIC must imply USE IEEE_EXCEPTIONS The intrinsic module IEEE_ARITHMETIC must incorporate the public names from the intrisic module IEEE_EXCEPTIONS. Rename IEEE_EXCEPTIONS to __Fortran_ieee_exceptions so that it won't clash with the nonintrinsic namespace, establish a new intrinic IEEE_EXCEPTIONS module that USEs it, and add a USE to IEEE_ARITHMETIC. Updated to use STREQUAL rather than ambiguous MATCHES in the CMakeLists.txt file. Differential Revision: https://reviews.llvm.org/D121490 | 4 年前 | |
[flang] Minor format change to LLVM license lines Replace comment lines containing all dashes with the proper ===-----....----=== markers. Original-commit: flang-compiler/f18@a8936b0d4187a9a9ef43f9d34055a3213beeb9d2 Reviewed-on: https://github.com/flang-compiler/f18/pull/922 | 6 年前 | |
[flang] Mark C_ASSOCIATED specific procedures as PURE The interfaces to C_ASSOCIATED()'s specific procedures must be PURE so that they are accepted for use in specification expressions. Differential Revision: https://reviews.llvm.org/D122438 | 4 年前 | |
[flang] Intrinsic module file update Use symbolic iostat values in iso_fortran_env.f90. Add generic names to the interfaces in __fortran_ieee_exceptions.f90. | 3 年前 | |
[flang] Minor format change to LLVM license lines Replace comment lines containing all dashes with the proper ===-----....----=== markers. Original-commit: flang-compiler/f18@a8936b0d4187a9a9ef43f9d34055a3213beeb9d2 Reviewed-on: https://github.com/flang-compiler/f18/pull/922 | 6 年前 | |
[flang] Minor format change to LLVM license lines Replace comment lines containing all dashes with the proper ===-----....----=== markers. Original-commit: flang-compiler/f18@a8936b0d4187a9a9ef43f9d34055a3213beeb9d2 Reviewed-on: https://github.com/flang-compiler/f18/pull/922 | 6 年前 |