[all-commits] [llvm/llvm-project] db2a75: [flang][acc] Add recipe populate testing through t...
Razvan Lupusoru via All-commits
all-commits at lists.llvm.org
Fri Oct 17 11:56:49 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: db2a75d082743d139ab93351b3639cbcda96fa84
https://github.com/llvm/llvm-project/commit/db2a75d082743d139ab93351b3639cbcda96fa84
Author: Razvan Lupusoru <razvan.lupusoru at gmail.com>
Date: 2025-10-17 (Fri, 17 Oct 2025)
Changed paths:
A flang/test/Fir/OpenACC/recipe-populate-firstprivate.mlir
A flang/test/Fir/OpenACC/recipe-populate-private.mlir
M mlir/lib/Dialect/OpenACC/IR/OpenACC.cpp
Log Message:
-----------
[flang][acc] Add recipe populate testing through type interfaces (#163990)
This PR does the following:
- Updates createAndPopulate implementation so instead of first building
detached blocks it directly builds them in appropriate place - because
the MappableType implementation in FIR is relying on properly connected
regions in order to look up module
- Updates createAndPopulate to properly create destroy region with newly
introduced generatePrivateDestroy API for MappableType
- Adds recipe-populate-private.mlir test with comprehensive type
coverage including scalars, arrays (1D/3D), derived types, and extensive
box type tests (heap/ptr scalars, dynamic arrays in 1D/2D, ptr arrays,
and boxed derived types)
- Adds recipe-populate-firstprivate.mlir test with coverage for types
with well-supported copy operations (scalars, static arrays, derived
types); intentionally limits box type testing as copy implementation for
complex box types is not yet complete
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list