Skip to content
Commit 2091ca6c authored by Alexey Bataev's avatar Alexey Bataev
Browse files

[OPENMP] Do not cast captured by value variables with pointer types in

NVPTX target.

When generating the wrapper function for the offloading region, we need
to call the outlined function and cast the arguments correctly to follow
the ABI. Usually, variables captured by value are casted to `uintptr_t`
type. But this should not performed for the variables with pointer type.

llvm-svn: 330620
parent 061fcd58
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