summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
diff options
context:
space:
mode:
authorKiran Chandramohan <kiran.chandramohan@arm.com>2023-09-01 10:44:35 +0000
committerKiran Chandramohan <kiran.chandramohan@arm.com>2023-09-01 10:59:14 +0000
commit90f58eb37b30cc2f5222053dc6e7e0a187819431 (patch)
tree402f2168a639471bad25e6b82c7dc6c2dda07bdf /lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
parentb7f4915644844fb9f32e8763922a070f5fe4fd29 (diff)
[Flang][OpenMP] Fix loop index privatisation in Parallel region in HLFIR
HLFIR lowering always adds hlfir.declare when symbols are bound to their address allocated on the stack. Ensure that the declare is placed along with the alloca if it is hoisted. And always return the mlir value that is bound to the symbol (i.e the alloca in FIR lowering and the declare in HLFIR lowering). Context: Loop index variables in OpenMP parallel regions should be privatised to work correctly. Reviewed By: tblah Differential Revision: https://reviews.llvm.org/D158594
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp')
0 files changed, 0 insertions, 0 deletions