Skip to content
Commit caa35a1a authored by Jan Sjodin's avatar Jan Sjodin
Browse files

[OpenMP][OpenMPIRBuilder] Make outlined function parameters i64 or ptr

This patch ensures that all outlined functions parameters are i64 or ptr when
compiling for a target device, which is what the OpenMP runtime expects. The
values are then cast to the correct type inside the kernel.

Reviewed By: jdoerfert

Differential Revision: https://reviews.llvm.org/D155628
parent 1fde372b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment