[all-commits] [llvm/llvm-project] 7347f5: Preserve descriptor strides for iterator map bounds
Chi-Chun, Chen via All-commits
all-commits at lists.llvm.org
Tue Jun 23 12:27:04 PDT 2026
Branch: refs/heads/users/cchen/flang_openmp_motion_map_iterator
Home: https://github.com/llvm/llvm-project
Commit: 7347f56237dbd5f8f0032c9aec2cb2f185195c28
https://github.com/llvm/llvm-project/commit/7347f56237dbd5f8f0032c9aec2cb2f185195c28
Author: Chi Chun, Chen <chichun.chen at hpe.com>
Date: 2026-06-23 (Tue, 23 Jun 2026)
Changed paths:
M flang/lib/Lower/OpenMP/Utils.cpp
M flang/test/Lower/OpenMP/motion-iterator.f90
Log Message:
-----------
Preserve descriptor strides for iterator map bounds
Iterator map lowering keeps a stable array base pointer and describes the
selected element or section with bounds inside omp.iterator. For boxed arrays,
those bounds must use the byte stride stored for each descriptor dimension.
Use fir.box_dims for boxed iterator map bounds and pass through each
dimension's descriptor byte stride. This preserves non-contiguous
assumed-shape actuals while keeping unit element strides for non-box arrays.
Commit: 8413e554a838395e017423008c10f14502b2ffc8
https://github.com/llvm/llvm-project/commit/8413e554a838395e017423008c10f14502b2ffc8
Author: Chi Chun, Chen <chichun.chen at hpe.com>
Date: 2026-06-23 (Tue, 23 Jun 2026)
Changed paths:
M flang/lib/Lower/OpenMP/ClauseProcessor.cpp
M flang/lib/Lower/OpenMP/Utils.cpp
Log Message:
-----------
Remove unnecessary lambda and helpers
Compare: https://github.com/llvm/llvm-project/compare/3d8afc727c3b...8413e554a838
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