diff options
author | Akash Banerjee <Akash.Banerjee@amd.com> | 2023-09-22 18:12:06 +0100 |
---|---|---|
committer | Akash Banerjee <Akash.Banerjee@amd.com> | 2023-11-06 13:24:02 +0000 |
commit | fbaf2c6cf7b207145dbda0d1cbadd0b446a21199 (patch) | |
tree | cbb008cab342764f3b09f1d21b5bea4d0f3c7396 /llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp | |
parent | 0a22a80c1b83996a4424c94a3597d8f974ecb444 (diff) | |
download | llvm-fbaf2c6cf7b207145dbda0d1cbadd0b446a21199.zip llvm-fbaf2c6cf7b207145dbda0d1cbadd0b446a21199.tar.gz llvm-fbaf2c6cf7b207145dbda0d1cbadd0b446a21199.tar.bz2 |
[OpenMP][Flang] Add "IsolatedFromAbove" trait to omp.target
This patch adds the PFT lowering changes required for adding the IsolatedFromAbove trait to omp.target.
Key Changes:
- Add IsolatedFromAbove trait to target op in MLIR.
- Main reason for this change is to prevent CSE and other similar optimisations from crossing region boundaries for target operations. The link below has the discourse discussion surrounding this issue.
- Move implicit operand capturing to the PFT lowering stage.
- Implicit operands are first added as implicitly captured map_operands with their map_types set accordingly to indicate this. Later, all map_operands including implicit ones are added as block arguments.
- Remove `implicit` attribute from the `MapInfoOp`. This information is already captured by the `map_type`.
- The custom printer and parser for the map_types have been updated to show the `implicit` and `literal` map_types.
- Update related tests.
- This fixes #63555.
- This fixes #70488.
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp')
0 files changed, 0 insertions, 0 deletions