[all-commits] [llvm/llvm-project] caa35a: [OpenMP][OpenMPIRBuilder] Make outlined function p...
Jan Sjodin via All-commits
all-commits at lists.llvm.org
Tue Jul 25 10:07:05 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: caa35a1ad9afc45079830966258ae24ca8f5ec0a
https://github.com/llvm/llvm-project/commit/caa35a1ad9afc45079830966258ae24ca8f5ec0a
Author: Jan Sjodin <jan_sjodin at yahoo.com>
Date: 2023-07-25 (Tue, 25 Jul 2023)
Changed paths:
M llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
M llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp
M mlir/test/Target/LLVMIR/omptarget-region-device-llvm.mlir
Log Message:
-----------
[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
More information about the All-commits
mailing list