|
Revision tags: llvmorg-20.1.0, llvmorg-20.1.0-rc3, llvmorg-20.1.0-rc2, llvmorg-20.1.0-rc1, llvmorg-21-init, llvmorg-19.1.7, llvmorg-19.1.6, llvmorg-19.1.5, llvmorg-19.1.4, llvmorg-19.1.3, llvmorg-19.1.2, llvmorg-19.1.1, llvmorg-19.1.0, llvmorg-19.1.0-rc4, llvmorg-19.1.0-rc3, llvmorg-19.1.0-rc2, llvmorg-19.1.0-rc1, llvmorg-20-init, llvmorg-18.1.8, llvmorg-18.1.7, llvmorg-18.1.6, llvmorg-18.1.5, llvmorg-18.1.4, llvmorg-18.1.3, llvmorg-18.1.2, llvmorg-18.1.1, llvmorg-18.1.0, llvmorg-18.1.0-rc4, llvmorg-18.1.0-rc3, llvmorg-18.1.0-rc2, llvmorg-18.1.0-rc1, llvmorg-19-init, llvmorg-17.0.6, llvmorg-17.0.5, llvmorg-17.0.4, llvmorg-17.0.3, llvmorg-17.0.2, llvmorg-17.0.1, llvmorg-17.0.0, llvmorg-17.0.0-rc4, llvmorg-17.0.0-rc3, llvmorg-17.0.0-rc2, llvmorg-17.0.0-rc1, llvmorg-18-init, llvmorg-16.0.6, llvmorg-16.0.5, llvmorg-16.0.4, llvmorg-16.0.3, llvmorg-16.0.2, llvmorg-16.0.1, llvmorg-16.0.0, llvmorg-16.0.0-rc4, llvmorg-16.0.0-rc3, llvmorg-16.0.0-rc2, llvmorg-16.0.0-rc1, llvmorg-17-init, llvmorg-15.0.7, llvmorg-15.0.6, llvmorg-15.0.5, llvmorg-15.0.4, llvmorg-15.0.3, llvmorg-15.0.2, llvmorg-15.0.1, llvmorg-15.0.0, llvmorg-15.0.0-rc3, llvmorg-15.0.0-rc2, llvmorg-15.0.0-rc1, llvmorg-16-init |
|
| #
015834e4 |
| 08-Jul-2022 |
Valentin Clement <[email protected]> |
[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
Dif
[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
show more ...
|
| #
36e24da8 |
| 08-Jul-2022 |
Valentin Clement <[email protected]> |
[flang][openacc][NFC] Make self clause value optional in ACC.td and extract the parser
Set the isOptional flag for the self clause. Move the optional and parenthesis part of the parser. Update the r
[flang][openacc][NFC] Make self clause value optional in ACC.td and extract the parser
Set the isOptional flag for the self clause. Move the optional and parenthesis part of the parser. Update the rest of the code to deal with the optional value.
Preparatory work for D106968.
Reviewed By: kiranchandramohan
Differential Revision: https://reviews.llvm.org/D106965
show more ...
|
| #
d7ab38f8 |
| 24-Jun-2022 |
Valentin Clement <[email protected]> |
[flang][OpenACC] Lower parallel loop
Lower the `parallel loop` contrsuct and refactor some of the code of parallel and loop lowering to be reused.
Also add tests for loop and parallel since they we
[flang][OpenACC] Lower parallel loop
Lower the `parallel loop` contrsuct and refactor some of the code of parallel and loop lowering to be reused.
Also add tests for loop and parallel since they were not upstreamed.
This patch is part of the upstreaming effort from fir-dev branch.
Reviewed By: PeteSteinfeld
Differential Revision: https://reviews.llvm.org/D128510
show more ...
|
| #
d45d7074 |
| 24-Jun-2022 |
Valentin Clement <[email protected]> |
[flang] Explicitly map host associated symbols
Explicitly map host associated symbols in DoConcurrent with shared locality-spec, clauses in OpenMP/OpenACC. The mapping of host-assoc symbols is set t
[flang] Explicitly map host associated symbols
Explicitly map host associated symbols in DoConcurrent with shared locality-spec, clauses in OpenMP/OpenACC. The mapping of host-assoc symbols is set to their parent SymbolBox. This is achieved through a new interface function in the AbstractConverter.
This was already upstream for OpenMP.
This patch is part of the upstreaming effort from fir-dev branch.
Reviewed By: PeteSteinfeld
Differential Revision: https://reviews.llvm.org/D128518
Co-authored-by: Kiran Chandramohan <[email protected]>
show more ...
|
|
Revision tags: llvmorg-14.0.6, llvmorg-14.0.5 |
|
| #
5b66cc10 |
| 10-Jun-2022 |
Valentin Clement <[email protected]> |
[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 e
[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 <[email protected]>
Reviewed By: jeanPerier
Differential Revision: https://reviews.llvm.org/D127292
show more ...
|
|
Revision tags: llvmorg-14.0.4, llvmorg-14.0.3 |
|
| #
b6b8d345 |
| 28-Apr-2022 |
Peixin-Qiao <[email protected]> |
[flang] Add lowering stubs for OpenMP/OpenACC declarative constructs
This patch provides the basic infrastructure for lowering declarative constructs for OpenMP and OpenACC.
This is part of the ups
[flang] Add lowering stubs for OpenMP/OpenACC declarative constructs
This patch provides the basic infrastructure for lowering declarative constructs for OpenMP and OpenACC.
This is part of the upstreaming effort from the fir-dev branch in [1]. [1] https://github.com/flang-compiler/f18-llvm-project
Reviewed By: kiranchandramohan, shraiysh, clementval
Differential Revision: https://reviews.llvm.org/D124225
show more ...
|
|
Revision tags: llvmorg-14.0.2 |
|
| #
67609cdf |
| 22-Apr-2022 |
Eric Schweitz <[email protected]> |
[NFC] Cosmetic changes to OpenACC.cpp.
Differential Revision: https://reviews.llvm.org/D124272
|
|
Revision tags: llvmorg-14.0.1 |
|
| #
a80bf185 |
| 24-Mar-2022 |
Valentin Clement <[email protected]> |
[flang][NFC] Remove unused variable
|
| #
44b0ea44 |
| 24-Mar-2022 |
Valentin Clement <[email protected]> |
[flang[OpenACC] Lower wait directive
This patch adds lowering for the `!$acc wait` directive from the PFT to OpenACC dialect.
This patch is part of the upstreaming effort from fir-dev branch.
Revi
[flang[OpenACC] Lower wait directive
This patch adds lowering for the `!$acc wait` directive from the PFT to OpenACC dialect.
This patch is part of the upstreaming effort from fir-dev branch.
Reviewed By: PeteSteinfeld
Differential Revision: https://reviews.llvm.org/D122399
show more ...
|
| #
5ee88e0b |
| 24-Mar-2022 |
Valentin Clement <[email protected]> |
[flang[OpenACC] Lower data directive
This patch adds lowering for the `!$acc data` from the PFT to OpenACC dialect.
This patch is part of the upstreaming effort from fir-dev branch.
Depends on D12
[flang[OpenACC] Lower data directive
This patch adds lowering for the `!$acc data` from the PFT to OpenACC dialect.
This patch is part of the upstreaming effort from fir-dev branch.
Depends on D122384
Reviewed By: PeteSteinfeld
Differential Revision: https://reviews.llvm.org/D122398
show more ...
|
| #
c6a9ce2b |
| 24-Mar-2022 |
Valentin Clement <[email protected]> |
[flang][OpenACC] Lower update directive
This patch adds lowering for the `!$acc update` from the PFT to OpenACC dialect.
This patch is part of the upstreaming effort from fir-dev branch.
Depends o
[flang][OpenACC] Lower update directive
This patch adds lowering for the `!$acc update` from the PFT to OpenACC dialect.
This patch is part of the upstreaming effort from fir-dev branch.
Depends on D122387
Reviewed By: PeteSteinfeld
Differential Revision: https://reviews.llvm.org/D122396
show more ...
|
| #
39157b98 |
| 24-Mar-2022 |
Valentin Clement <[email protected]> |
[flang][OpenACC] Lower init/shutdown directive
This patch adds lowering for the `!$acc init` and `!$acc shutdown` from the PFT to OpenACC dialect.
This patch is part of the upstreaming effort from
[flang][OpenACC] Lower init/shutdown directive
This patch adds lowering for the `!$acc init` and `!$acc shutdown` from the PFT to OpenACC dialect.
This patch is part of the upstreaming effort from fir-dev branch.
Depends on D122384
Reviewed By: PeteSteinfeld
Differential Revision: https://reviews.llvm.org/D122387
show more ...
|
| #
67defe50 |
| 24-Mar-2022 |
Valentin Clement <[email protected]> |
[flang][OpenACC] Lower exit data directive
This patch adds lowering for the `!$acc exit data` directive from the PFT to OpenACC dialect.
This patch is part of the upstreaming effort from fir-dev br
[flang][OpenACC] Lower exit data directive
This patch adds lowering for the `!$acc exit data` directive from the PFT to OpenACC dialect.
This patch is part of the upstreaming effort from fir-dev branch.
Depends on D122384
Reviewed By: PeteSteinfeld
Differential Revision: https://reviews.llvm.org/D122386
show more ...
|
| #
12d22cea |
| 24-Mar-2022 |
Valentin Clement <[email protected]> |
[flang][OpenACC] Lower enter data directive
This patch adds lowering for the `!$acc enter data` directive from the PFT to OpenACC dialect.
This patch is part of the upstreaming effort from fir-dev
[flang][OpenACC] Lower enter data directive
This patch adds lowering for the `!$acc enter data` directive from the PFT to OpenACC dialect.
This patch is part of the upstreaming effort from fir-dev branch.
Reviewed By: PeteSteinfeld
Differential Revision: https://reviews.llvm.org/D122384
show more ...
|
|
Revision tags: llvmorg-14.0.0, llvmorg-14.0.0-rc4, llvmorg-14.0.0-rc3 |
|
| #
092601d4 |
| 03-Mar-2022 |
Andrzej Warzynski <[email protected]> |
[flang] Remove 'using namespace mlir;` from header files
Currently, CGOps.h and FIROps.h contain `using namespace mlir;`. Every file that includes one of these header files (directly and transitivel
[flang] Remove 'using namespace mlir;` from header files
Currently, CGOps.h and FIROps.h contain `using namespace mlir;`. Every file that includes one of these header files (directly and transitively) will have the MLIR namespace enabled. With name-clashes within sub-projects (LLVM and MLIR, MLIR and Flang), this is not desired. Also, it is not possible to "un-use" a namespace once it is "used". Instead, we should try to limit `using namespace` to implementation files (i.e. *.cpp).
This patch removes `using namespace mlir;` from header files and adjusts other files accordingly. In header and TableGen files, extra namespace qualifier is added when referring to symbols defined in MLIR. Similar approach is adopted in source files that didn't require many changes. In files that would require a lot of changes, `using namespace mlir;` is added instead.
Differential Revision: https://reviews.llvm.org/D120897
show more ...
|
|
Revision tags: llvmorg-14.0.0-rc2 |
|
| #
d0b70a07 |
| 23-Feb-2022 |
Valentin Clement <[email protected]> |
[flang] Lower function and subroutine calls
This patch introduce basic function/subroutine calls. Because of the state of lowering only simple scalar arguments can be used in the calls. This will be
[flang] Lower function and subroutine calls
This patch introduce basic function/subroutine calls. Because of the state of lowering only simple scalar arguments can be used in the calls. This will be enhanced in follow up patches with arrays, allocatable, pointer ans so on.
``` subroutine sub1() end
subroutine sub2() call sub1() end ```
This patch is part of the upstreaming effort from fir-dev branch.
Reviewed By: schweitz
Differential Revision: https://reviews.llvm.org/D120419
Co-authored-by: Eric Schweitz <[email protected]> Co-authored-by: Jean Perier <[email protected]> Co-authored-by: V Donaldson <[email protected]>
show more ...
|
|
Revision tags: llvmorg-14.0.0-rc1, llvmorg-15-init |
|
| #
e1a12767 |
| 28-Jan-2022 |
Valentin Clement <[email protected]> |
[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 i
[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
show more ...
|
| #
8a0d0a3a |
| 28-Jan-2022 |
Valentin Clement <[email protected]> |
[flang][NFC] Remove obsolete FIRBuilder and BoxValue
This patch removes some files made obsolete by newer version of them available in the Optimizer directory. `flang/include/flang/Lower/FIRBuilder.
[flang][NFC] Remove obsolete FIRBuilder and BoxValue
This patch removes some files made obsolete by newer version of them available in the Optimizer directory. `flang/include/flang/Lower/FIRBuilder.h` and `flang/lib/Lower/FIRBuilder.cpp` are removed and replace by the newer version present in `flang/include/flang/Optimizer/Builder/FIRBuilder.h` and `flang/lib/Optimizer/Builder/FIRBuilder.cpp`. `flang/include/flang/Lower/Support/BoxValue.h` and `flang/lib/Lower/ConvertExpr.cpp` are removed and replace by the newer version present in `flang/include/flang/Optimizer/Builder/BoxValue.h`
This patch is a preparation to be able to upstream the lowering from fir-dev.
Reviewed By: jeanPerier, kiranchandramohan
Differential Revision: https://reviews.llvm.org/D118404
show more ...
|
|
Revision tags: llvmorg-13.0.1, llvmorg-13.0.1-rc3, llvmorg-13.0.1-rc2 |
|
| #
32c92087 |
| 04-Jan-2022 |
Benjamin Kramer <[email protected]> |
[flang][openacc] Remove unused variable. NFC.
|
|
Revision tags: llvmorg-13.0.1-rc1, llvmorg-13.0.0, llvmorg-13.0.0-rc4, llvmorg-13.0.0-rc3, llvmorg-13.0.0-rc2, llvmorg-13.0.0-rc1, llvmorg-14-init, llvmorg-12.0.1, llvmorg-12.0.1-rc4, llvmorg-12.0.1-rc3, llvmorg-12.0.1-rc2, llvmorg-12.0.1-rc1, llvmorg-12.0.0, llvmorg-12.0.0-rc5, llvmorg-12.0.0-rc4, llvmorg-12.0.0-rc3, llvmorg-12.0.0-rc2 |
|
| #
36ea1cac |
| 23-Feb-2021 |
Jean Perier <[email protected]> |
[flang][NFC] Add source line to lowering TODO messages
- Add a fatal error handler that can print a message with source location before aborting. - Update TODO macro to take an mlir location argum
[flang][NFC] Add source line to lowering TODO messages
- Add a fatal error handler that can print a message with source location before aborting. - Update TODO macro to take an mlir location argument and to use the newly introduced fatal error handler. - Introduce TODO_NOLOC for the few places where no source location is easily accessible.
Reviewed By: schweitz
Differential Revision: https://reviews.llvm.org/D97190
show more ...
|
|
Revision tags: llvmorg-11.1.0, llvmorg-11.1.0-rc3, llvmorg-12.0.0-rc1, llvmorg-13-init, llvmorg-11.1.0-rc2, llvmorg-11.1.0-rc1, llvmorg-11.0.1, llvmorg-11.0.1-rc2 |
|
| #
a1eb1544 |
| 14-Dec-2020 |
Christian Sigg <[email protected]> |
[flang] Use mlir::OpState::operator->() to get to methods of mlir::Operation.
This is a preparation step to remove those methods from OpState.
Reviewed By: ftynse
Differential Revision: https://re
[flang] Use mlir::OpState::operator->() to get to methods of mlir::Operation.
This is a preparation step to remove those methods from OpState.
Reviewed By: ftynse
Differential Revision: https://reviews.llvm.org/D93194
show more ...
|
| #
1dd24e6a |
| 08-Dec-2020 |
Valentin Clement <[email protected]> |
[flang][openacc] Add clause validity tests for the update directive
Add couple of clause validity tests for the update directive and check for the restriction where at least self, host or device cla
[flang][openacc] Add clause validity tests for the update directive
Add couple of clause validity tests for the update directive and check for the restriction where at least self, host or device clause must appear on the directive.
Reviewed By: sameeranjoshi
Differential Revision: https://reviews.llvm.org/D92447
show more ...
|
|
Revision tags: llvmorg-11.0.1-rc1 |
|
| #
1dad9d42 |
| 05-Nov-2020 |
Valentin Clement <[email protected]> |
[flang][openacc] Lower wait directive
This patch upstream the lowering of Wait directive that was initially done in https://github.com/flang-compiler/f18-llvm-project/pull/532
Reviewed By: schweitz
[flang][openacc] Lower wait directive
This patch upstream the lowering of Wait directive that was initially done in https://github.com/flang-compiler/f18-llvm-project/pull/532
Reviewed By: schweitz
Differential Revision: https://reviews.llvm.org/D90489
show more ...
|
| #
4ec7f7e4 |
| 05-Nov-2020 |
Valentin Clement <[email protected]> |
[flang][openacc] Lower init and shutdown directive
This patch upstream the lowering of Init and Shutdown directives that was initially done in https://github.com/flang-compiler/f18-llvm-project/pull
[flang][openacc] Lower init and shutdown directive
This patch upstream the lowering of Init and Shutdown directives that was initially done in https://github.com/flang-compiler/f18-llvm-project/pull/529
Reviewed By: schweitz
Differential Revision: https://reviews.llvm.org/D90488
show more ...
|
| #
b45ea445 |
| 04-Nov-2020 |
Valentin Clement <[email protected]> |
[flang][openacc] Lower update directive
This patch upstream the lowering of Update directive that was initially done in https://github.com/flang-compiler/f18-llvm-project/pull/528
Reviewed By: schw
[flang][openacc] Lower update directive
This patch upstream the lowering of Update directive that was initially done in https://github.com/flang-compiler/f18-llvm-project/pull/528
Reviewed By: schweitz
Differential Revision: https://reviews.llvm.org/D90472
show more ...
|