| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
[MLIR][OpenMP][OMPIRBuilder] Use target triple to initialize IsGPU flag This patch modifies the construction of the OpenMPIRBuilder in MLIR to initialize the IsGPU flag using target triple information passed down from the Flang frontend. If not present, it will default to false. This replicates the behavior currently implemented in Clang, where the CodeGenModule::createOpenMPRuntime() method creates a different CGOpenMPRuntime instance depending on the target triple, which in turn has an effect on the IsGPU flag of the OpenMPIRBuilderConfig object. Differential Revision: https://reviews.llvm.org/D151903 | 2 年前 | |
[Flang] Include logical default with default-integer-8 Other compilers include the logical default also with the default-integer-8 setting. This patch does the same for flang. Reviewed By: awarzynski, sscalpone Differential Revision: https://reviews.llvm.org/D155279 | 2 年前 | |
[flang] Install omp_lib.h to install directory alongside modules This patch simply adds a cmake install line for omp_lib.h that was previously missing, to put it alongisde omp_lib.mod so it can be found by the driver. | 3 年前 | |
[mlir] Add support for "promised" interfaces Promised interfaces allow for a dialect to "promise" the implementation of an interface, i.e. declare that it supports an interface, but have the interface defined in an extension in a library separate from the dialect itself. A promised interface is powerful in that it alerts the user when the interface is attempted to be used (e.g. via cast/dyn_cast/etc.) and the implementation has not yet been provided. This makes the system much more robust against misconfiguration, and ensures that we do not lose the benefit we currently have of defining the interface in the dialect library. Differential Revision: https://reviews.llvm.org/D120368 | 3 年前 | |
Flang implementation for COMPILER_VERSION and COMPILER_OPTIONS intrinsics This revision implements the Fortran intrinsic procedures COMPILER_VERSION and COMPILER_OPTIONS from the iso_fortran_env module. To be able to set the COMPILER_OPTIONS string according to the original compiler driver invocation, a string is passed to the frontend driver using the environment variable FLANG_COMPILER_OPTIONS_STRING, for lack of a better mechanism. Fixes #59233 Reviewed By: awarzynski Differential Revision: https://reviews.llvm.org/D140524 | 3 年前 | |
[mlir] Add support for "promised" interfaces Promised interfaces allow for a dialect to "promise" the implementation of an interface, i.e. declare that it supports an interface, but have the interface defined in an extension in a library separate from the dialect itself. A promised interface is powerful in that it alerts the user when the interface is attempted to be used (e.g. via cast/dyn_cast/etc.) and the implementation has not yet been provided. This makes the system much more robust against misconfiguration, and ensures that we do not lose the benefit we currently have of defining the interface in the dialect library. Differential Revision: https://reviews.llvm.org/D120368 | 3 年前 | |
[flang] Add clang-tidy check for braces around if Flang diverges from the llvm coding style in that it requires braces around the bodies of if/while/etc statements, even when the body is a single statement. This commit adds the readability-braces-around-statements check to flang's clang-tidy config file. Hopefully the premerge bots will pick it up and report violations in Phabricator. We also explicitly disable the check in the directories corresponding to the Lower and Optimizer libraries, which rely heavily on mlir and llvm and therefore follow their coding style. Likewise for the tools directory. We also fix any outstanding violations in the runtime and in lib/Semantics. Differential Revision: https://reviews.llvm.org/D104100 | 5 年前 | |
[flang] Initial lowering for empty program This patch enable lowering from Fortran to FIR for a basic empty program. It brings all the infrastructure needed for that. As discussed previously, this is the first patch for lowering and follow up patches should be smaller. With this patch we can lower the following code: program basic end program To a the FIR equivalent: func @_QQmain() { return } Follow up patch will add lowering of more complex constructs. Reviewed By: kiranchandramohan, schweitz, PeteSteinfeld Differential Revision: https://reviews.llvm.org/D118436 | 4 年前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 2 年前 | ||
| 2 年前 | ||
| 3 年前 | ||
| 3 年前 | ||
| 3 年前 | ||
| 3 年前 | ||
| 5 年前 | ||
| 4 年前 |