SShraiysh VaishayRevert "[flang][OpenMP] Lowering support for default clause"
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
[flang] [LLVMify F18] Compiler module folders should have capitalised names (flang-compiler/f18#980) This patch renames the modules in f18 to use a capital letter in the module name Signed-off-by: Caroline Concatto <caroline.concatto@arm.com> Original-commit: flang-compiler/f18@d2eb7a1c443d1539ef12b6f027074a0eb15b1ea0 Reviewed-on: https://github.com/flang-compiler/f18/pull/980 | 6 年前 | |
[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 | 4 年前 | |
Remove redundant return statements (NFC) Identified with readability-redundant-control-flow. | 3 年前 | |
Revert "[flang][OpenMP] Lowering support for default clause" This reverts commit 05e6fce84fd39d150195b8928561f2c90c71e538. | 3 年前 | |
[mlir] (NFC) Clean up bazel and CMake target names All dialect targets in bazel have been named *Dialect and all dialect targets in CMake have been named MLIR*Dialect. | 3 年前 | |
[flang] Fix APFloat conversion cases This patch is part of the upstreaming effort from fir-dev branch. Reviewed By: PeteSteinfeld Differential Revision: https://reviews.llvm.org/D128935 Co-authored-by: Eric Schweitz <eschweitz@nvidia.com> Co-authored-by: Peter Steinfeld <psteinfeld@nvidia.com> | 3 年前 | |
[flang][NFC] Move Todo.h from Lower to Optimizer Remove a backwards dependence from Optimizer -> Lower by moving Todo.h to the optimizer and out of lowering. This patch is part of the upstreaming effort from fir-dev branch. Co-authored-by: Eric Schweitz <eschweitz@nvidia.com> Reviewed By: jeanPerier Differential Revision: https://reviews.llvm.org/D127292 | 3 年前 | |
Don't use Optional::getValue (NFC) | 3 年前 | |
[flang] Use value instead of getValue (NFC) Flang C++ Style Guide tells us to use x.value() when no presence test is obviously protecting the reference. | 3 年前 | |
Remove redundant return statements (NFC) Identified with readability-redundant-control-flow. | 3 年前 | |
[flang][NFC] Make LEN parameters homogenous This patch is part of the upstreaming effort from fir-dev branch. This is the last patch for the upstreaming effort. Reviewed By: jeanPerier Differential Revision: https://reviews.llvm.org/D129187 Co-authored-by: Eric Schweitz <eschweitz@nvidia.com> | 3 年前 | |
[flang] Use value instead of getValue (NFC) Flang C++ Style Guide tells us to use x.value() when no presence test is obviously protecting the reference. Since assert can be disabled, I don't count it as "protection" here. Differential Revision: https://reviews.llvm.org/D130144 | 3 年前 | |
[flang] Simple array assignment lowering This patch handles lowering of simple array assignment. a(:) = 10 or a(1) = 1 This patch is part of the upstreaming effort from fir-dev branch. Reviewed By: PeteSteinfeld, schweitz Differential Revision: https://reviews.llvm.org/D120501 Co-authored-by: Jean Perier <jperier@nvidia.com> Co-authored-by: V Donaldson <vdonaldson@nvidia.com> Co-authored-by: Eric Schweitz <eschweitz@nvidia.com> | 4 年前 | |
[flang][NFC] Make LEN parameters homogenous This patch is part of the upstreaming effort from fir-dev branch. This is the last patch for the upstreaming effort. Reviewed By: jeanPerier Differential Revision: https://reviews.llvm.org/D129187 Co-authored-by: Eric Schweitz <eschweitz@nvidia.com> | 3 年前 | |
[flang] Add correct number of args for wait Add source coordinates to BeginWait and BeginWaitAll calls This patch is part of the upstreaming effort from fir-dev branch. Reviewed By: jeanPerier Differential Revision: https://reviews.llvm.org/D128970 Co-authored-by: V Donaldson <vdonaldson@nvidia.com> | 3 年前 | |
[flang] Remove fp128 support for llvm.round and llvm.trunc The fp128 in llvm.round and llvm.trunc is not supported in X86_64 for now. Revert the support. To support quad precision for llvm.round and llvm.trunc, it may should be supported using runtime. Reviewed By: Jean Perier Differential Revision: https://reviews.llvm.org/D130556 | 3 年前 | |
[flang] Use *X instead of X.getValue() (NFC) Per Flang C++ Style Guide, this patch replaces X.getValue() with *X where *X is protected by a presence test. | 3 年前 | |
[flang] Remove some auto This patch replaces some auto with proper type. This was done in fir-dev but not upstreamed yet. This patch is part of the upstreaming effort from fir-dev branch. Reviewed By: klausler Differential Revision: https://reviews.llvm.org/D128350 | 3 年前 | |
[flang][openacc][NFC] Extract device_type parser to its own Move the device_type parser to a separate parser AccDeviceTypeExprList. Preparatory work for D106968. Reviewed By: kiranchandramohan Differential Revision: https://reviews.llvm.org/D106967 | 3 年前 | |
Revert "[flang][OpenMP] Lowering support for default clause" This reverts commit 05e6fce84fd39d150195b8928561f2c90c71e538. | 3 年前 | |
[Flang] Set constructExit for Where and Forall constructs Evaluations for the Where and Forall constructs previously did not have their constructExit field fixed up. This could lead to falling through to subsequent case blocks in select case statements if either a Where or Forall construct was the final part of one case block. Setting the constructExit field results in the proper branching behavior. Fixes issue: https://github.com/llvm/llvm-project/issues/56500 Differential Revision: https://reviews.llvm.org/D129879 Change-Id: Ia868df12084520a935f087524e118bcdf47f6d7a | 3 年前 | |
[flang] system_clock intrinsic calls with dynamically optional arguments system_clock intrinsic calls with dynamically optional arguments Modify intrinsic system_clock calls to allow for an argument that is optional or a disassociated pointer or an unallocated allocatable. A call with such an argument is the same as a call that does not specify that argument. Rename (genIsNotNull -> genIsNotNullAddr) and (genIsNull -> genIsNullAddr) and add a use of genIsNotNullAddr. This patch is part of the upstreaming effort from fir-dev branch. Reviewed By: PeteSteinfeld Differential Revision: https://reviews.llvm.org/D127616 Co-authored-by: V Donaldson <vdonaldson@nvidia.com> | 3 年前 | |
[flang][OpenMP] Initial support the lowering of copyin clause This supports the lowering of copyin clause initially. The pointer, allocatable, common block, polymorphic varaibles will be supported later. This also includes the following changes: 1. Resolve the COPYIN clause and make the entity as host associated. 2. Fix collectSymbolSet by adding one option to control collecting the symbol itself or ultimate symbol of it so that it can be used explicitly differentiate the host and associated variables in host-association. 3. Add one helper function lookupOneLevelUpSymbol to differentiate the usage of host and associated variables explicitly. The previous lowering of firstprivate depends on the order of createHostAssociateVarClone and lookupSymbol of host symbol. With this fix, this dependence is removed. 4. Reuse copyHostAssociateVar for copying operation of COPYIN clause. Reviewed By: kiranchandramohan, NimishMishra Differential Revision: https://reviews.llvm.org/D127468 | 3 年前 | |
[flang][NFC] Unify todo messages This patch is part of the upstreaming effort from fir-dev branch. Reviewed By: jeanPerier Differential Revision: https://reviews.llvm.org/D128186 Co-authored-by: Peter Steinfeld <psteinfeld@nvidia.com> | 3 年前 |