[all-commits] [llvm/llvm-project] f72a45: [flang][FIRToMemRef] lower `fir.coordinate_of` on ...
Susan Tan (ス-ザン タン) via All-commits
all-commits at lists.llvm.org
Wed May 6 13:46:11 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f72a45aedc269952b02e131cd22e187c633d7b06
https://github.com/llvm/llvm-project/commit/f72a45aedc269952b02e131cd22e187c633d7b06
Author: Susan Tan (ス-ザン タン) <zujunt at nvidia.com>
Date: 2026-05-06 (Wed, 06 May 2026)
Changed paths:
M flang/lib/Optimizer/Transforms/FIRToMemRef.cpp
A flang/test/Transforms/FIRToMemRef/coordinate-of.mlir
Log Message:
-----------
[flang][FIRToMemRef] lower `fir.coordinate_of` on static-extent arrays to indexed memref (#195404)
`fir.coordinate_of` on static array components (e.g. A%v(i)) was falling
back to a rank-0 scalar memref, losing index information and blocking
saffine parallelization. Lower these to a properly-shaped memref<dims x
T> with explicit indices. Dynamic arrays and struct-element arrays keep
the existing scalar fallback.
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