[flang-commits] [flang] [flang][debug] Support complex types. (PR #92559)

Kiran Chandramohan via flang-commits flang-commits at lists.llvm.org
Tue May 21 03:53:49 PDT 2024


================
@@ -57,6 +57,16 @@ DebugTypeGenerator::convertType(mlir::Type Ty, mlir::LLVM::DIFileAttr fileAttr,
                         mlir::StringAttr::get(context, logTy.getMnemonic()),
                         kindMapping.getLogicalBitsize(logTy.getFKind()),
                         llvm::dwarf::DW_ATE_boolean);
+  } else if (fir::isa_complex(Ty)) {
----------------
kiranchandramohan wrote:

LLVM has some guidelines regarding else after return. https://llvm.org/docs/CodingStandards.html#don-t-use-else-after-a-return


https://github.com/llvm/llvm-project/pull/92559


More information about the flang-commits mailing list