[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:48 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)) {
+ unsigned bitWidth;
----------------
kiranchandramohan wrote:
Would it make sense to initialize this to some value to avoid an uninitialized warning or alternatively add an else case below to assert or llvm unreachable?
https://github.com/llvm/llvm-project/pull/92559
More information about the flang-commits
mailing list