[flang-commits] [flang] [flang][debug] Support complex types. (PR #92559)
Abid Qadeer via flang-commits
flang-commits at lists.llvm.org
Tue May 21 05:16:27 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;
----------------
abidh wrote:
I think it is better to make the intention explicit. I have added an llvm_unreachable.
https://github.com/llvm/llvm-project/pull/92559
More information about the flang-commits
mailing list