Skip to content
Commit 7b1a7bd5 authored by Alexey Bataev's avatar Alexey Bataev
Browse files

[OPENMP][BLOCKS]Fix PR38923: reference to a global variable is captured

by a block.

Added checks for capturing of the variable in the block when trying to
emit correct address for the variable with the reference type. This
extra check allows correctly identify the variables that are not
captured in the block context.

llvm-svn: 340181
parent 6ef4fafe
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment