aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectProcess.cpp
diff options
context:
space:
mode:
authorValentin Clement (バレンタイン クレメン) <clementval@gmail.com>2023-11-30 14:25:03 -0800
committerGitHub <noreply@github.com>2023-11-30 14:25:03 -0800
commita9a5af82704d772509ccef87991384f47b65884d (patch)
treedf39a48709cb06c1bc563dfecb4a2207725b3416 /lldb/source/Commands/CommandObjectProcess.cpp
parent6fb7c2d713587a061cd281eda917746750559380 (diff)
downloadllvm-a9a5af82704d772509ccef87991384f47b65884d.zip
llvm-a9a5af82704d772509ccef87991384f47b65884d.tar.gz
llvm-a9a5af82704d772509ccef87991384f47b65884d.tar.bz2
[flang][openacc] Support early return in acc.loop (#73841)
Early return is accepted in OpenACC loop not directly nested in a compute construct. Since acc.loop operation has a region, the `func.return` operation cannot be directly used inside the region. An early return is materialized by an `acc.yield` operation returning a `true` value. The standard end of the `acc.loop` region yield a `false` value in this case. A conditional branch operation on the `acc.loop` result will branch to the `finalBlock` or just to the continue block whether an early exit was produce in the acc.loop.
Diffstat (limited to 'lldb/source/Commands/CommandObjectProcess.cpp')
0 files changed, 0 insertions, 0 deletions