Skip to content

ArgumentPromotion unpacks recursive types endlessly #42028

@jdoerfert

Description

@jdoerfert
Bugzilla Link 42683
Version trunk
OS Linux
Attachments reproducer

Extended Description

ArgumentPromotion checks for "self recursive" functions but not for recursion that involves more than one function. This code was a "fix" for #9304 .

Reproducer is attached.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugzillaIssues migrated from bugzillaipoInterprocedural optimizations

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions