[all-commits] [llvm/llvm-project] 97cf8b: [flang] materialize fir.box when it is from a bloc...
Susan Tan (ス-ザン タン) via All-commits
all-commits at lists.llvm.org
Fri Mar 6 13:02:31 PST 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 97cf8bf220763a6a963d6229ab36dae1ed695ae3
https://github.com/llvm/llvm-project/commit/97cf8bf220763a6a963d6229ab36dae1ed695ae3
Author: Susan Tan (ス-ザン タン) <zujunt at nvidia.com>
Date: 2026-03-06 (Fri, 06 Mar 2026)
Changed paths:
M flang/lib/Optimizer/Transforms/FIRToMemRef.cpp
M flang/test/Transforms/FIRToMemRef/array-coor-block-arg.mlir
Log Message:
-----------
[flang] materialize fir.box when it is from a block argument (#184898)
We have to materialize `fir.box` before adding a `fir.convert` to a
memref type. Otherwise we get:
`'fir.convert' op invalid type conversion'!fir.box<!fir.array<?xi32>>' /
'memref<?xi32, strided<[?], offset: ?>>'`
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