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
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment