[all-commits] [llvm/llvm-project] e494eb: [OpenMP] Fix incorrect interop type for number of ...
Joseph Huber via All-commits
all-commits at lists.llvm.org
Mon May 8 19:03:00 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: e494ebf9d09b1112dcf4f22984bdb51bbf5d8cd7
https://github.com/llvm/llvm-project/commit/e494ebf9d09b1112dcf4f22984bdb51bbf5d8cd7
Author: Joseph Huber <jhuber6 at vols.utk.edu>
Date: 2023-05-08 (Mon, 08 May 2023)
Changed paths:
M clang/test/OpenMP/interop_irbuilder.cpp
M llvm/include/llvm/Frontend/OpenMP/OMPKinds.def
M llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
M llvm/test/Transforms/OpenMP/add_attributes.ll
M openmp/libomptarget/src/interop.cpp
Log Message:
-----------
[OpenMP] Fix incorrect interop type for number of dependencies
The interop types use the number of dependencies in the function
interface. Every other function uses an `i32` to count the number of
dependencies except for the initialization function. This leads to
codegen issues when the rest of the compiler passes in an `i32` that
then creates an invalid call. Fix this to be consistent with the other
uses.
Reviewed By: tianshilei1992
Differential Revision: https://reviews.llvm.org/D150156
More information about the All-commits
mailing list