[PATCH] D114148: [fir] Add fircg.ext_embox conversion

Valentin Clement via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 3 02:11:08 PST 2021


clementval marked 2 inline comments as done.
clementval added inline comments.


================
Comment at: flang/test/Fir/convert-to-llvm.fir:1581
+  %c0 = arith.constant 0 : i64
+  %0 = fircg.ext_embox %arg0(%c0) origin %c0[%c0, %c0, %c0] substr %c0, %c0 : (!fir.ref<!fir.array<?xi32>>, i64, i64, i64, i64, i64, i64, i64) -> !fir.box<!fir.array<?xi32>>
+  return
----------------
kiranchandramohan wrote:
> kiranchandramohan wrote:
> > Does substr have a meaning here since it applies to chars?
> Nit: Did you miss this point or is having substr here OK?
Sorry I thought I did update that. Done. 


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D114148/new/

https://reviews.llvm.org/D114148



More information about the llvm-commits mailing list