[PATCH] D113988: [flang][CodeGen] Transform `fir.field_index` to a sequence of LLVM MLIR
Kiran Chandramohan via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 18 06:06:50 PST 2021
kiranchandramohan accepted this revision.
kiranchandramohan added a comment.
LGTM.
================
Comment at: flang/test/Fir/convert-to-llvm.fir:1232
+func @field_index_dynamic_size() -> () {
+ %5 = fir.field_index field_id, !fir.type<custom_type{m:i32, field_id:!fir.array<?xf32>}>
+ return
----------------
Nit: Just test it on the field `m` as well.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D113988/new/
https://reviews.llvm.org/D113988
More information about the llvm-commits
mailing list