llvm-c166/openmp
shivaramaarao 01079d2605
[OpenMP][Flang] Add integer-kind wrappers to omp_lib (#213505)
Many OpenMP routines in omp_lib currently accept only
integer(kind=omp_integer_kind) arguments, where omp_integer_kind maps to
c_int. As a result, Flang's type checking rejects calls that pass
integer(1), integer(2), or integer(8) arguments. To improve
compatibility, wrapper procedures have been added in the omp_lib module
for applicable routines, enabling support for integer(1), integer(2),
integer(4), and integer(8) argument types. The interfaces are added in
omp_lib module and the implementations are part of omp_lib_impl sub
module.

Similar changes are required in omp_lib.h and will be addressed in a
separate pull request.

Fixes #123948.

Assisted-by: Cursor

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-24 20:48:12 +05:30
..
cmake
device
docs [offload] Pool host and shared allocations (#214754) 2026-08-24 13:55:18 +02:00
libompd
module [OpenMP][Flang] Add integer-kind wrappers to omp_lib (#213505) 2026-08-24 20:48:12 +05:30
runtime [OpenMP][Flang] Add integer-kind wrappers to omp_lib (#213505) 2026-08-24 20:48:12 +05:30
tools
.gitignore
CMakeLists.txt
CREDITS.txt
LICENSE.TXT
Maintainers.md