Skip to content
Commit 4ac68a21 authored by Alexey Bataev's avatar Alexey Bataev
Browse files

[OPENMP] DO not crash on combined constructs in declare target

functions.

If the combined construct is specified in the declare target function
and the device code is emitted, the compiler crashes because of the
incorrectly chosen captured stmt. We should choose the innermost
captured statement, not the outermost.

llvm-svn: 332477
parent 43e71ec4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment