[all-commits] [llvm/llvm-project] e27b8b: [flang][debug] Improve handling of cyclic derived ...

Abid Qadeer via All-commits all-commits at lists.llvm.org
Tue Mar 4 02:27:46 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e27b8b2eda767eb59d3d605d288e733b154a48c5
      https://github.com/llvm/llvm-project/commit/e27b8b2eda767eb59d3d605d288e733b154a48c5
  Author: Abid Qadeer <haqadeer at amd.com>
  Date:   2025-03-04 (Tue, 04 Mar 2025)

  Changed paths:
    M flang/lib/Optimizer/Dialect/FIRType.cpp
    A flang/test/Integration/debug-cyclic-derived-type-4.f90

  Log Message:
  -----------
  [flang][debug] Improve handling of cyclic derived types with classes. (#129588)

While checking if a type should be cached or not, we use
`getDerivedType` to peel outer layers and get to the base type. This
function did not peel the `fir.class` which caused the algorithm to
fail.

Fixes #128606.



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