[PATCH] D112961: [fir] Add fir.extract_value and fir.insert_value conversion

Valentin Clement via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 5 06:20:12 PDT 2021


clementval added inline comments.


================
Comment at: flang/lib/Optimizer/CodeGen/TypeConverter.h:51
+  // fir.type<name(p : TY'...){f : TY...}>  -->  llvm<"%name = { ty... }">
+  mlir::Type convertRecordType(fir::RecordType derived) {
+    auto name = derived.getName();
----------------
awarzynski wrote:
> How about a test in "types-to-llvm.fir" for this conversion?
Type conversion is checked alongside op conversions. 


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D112961



More information about the llvm-commits mailing list