Skip to content

Outliner separates ADRP and LDR into separate sections #131660

@pranavk

Description

@pranavk

This came up in #131630 where we are trying to fix the a case where outliner separates ADRP and LDR instructions into two separate sections which leads to problems that #131630 is trying to fix.

@smithp35 mentioned that this shouldn't happen in the first place because it prevents an optimization that converts GOT indirection to PC-relative addressing.

Unfortunately, I don't have a minimal repro I can share as of now but this happens with our internal code where outliner exhibits this.

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions