[all-commits] [llvm/llvm-project] 63a413: [flang][debug] Support complex types. (#92559)

Abid Qadeer via All-commits all-commits at lists.llvm.org
Thu May 23 05:24:11 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 63a4133912b5b737c75c18c609d711de6f70367f
      https://github.com/llvm/llvm-project/commit/63a4133912b5b737c75c18c609d711de6f70367f
  Author: Abid Qadeer <haqadeer at amd.com>
  Date:   2024-05-23 (Thu, 23 May 2024)

  Changed paths:
    M flang/lib/Optimizer/Transforms/DebugTypeGenerator.cpp
    A flang/test/Integration/debug-complex-1.f90
    A flang/test/Transforms/debug-complex-1.fir

  Log Message:
  -----------
  [flang][debug] Support complex types. (#92559)

This PR adds supports for conversion of complex type to corresponding
DITypeAttr. Both fir and mlir types are supported.

Apart from lit testing, I have also tested the types in debugger and
they work correctly. An exception is 128 bit complex which somehow
requires that its name be different from `complex`. I am going to open a
separate PR to add (kind=n) in the type names similar to what gfortran
does.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list