Skip to content

Merge 6b70c5d79fe44cbe01b0443454c6952c5b541585 into 18.1.x #86373

Closed
@brad0

Description

@brad0

[PowerPC] provide CFI for ELF32 to unwind cr2, cr3, cr4
(#83098)

Delete the code that skips the CFI for the condition register on ELF32.
The code checked !MustSaveCR, which happened only when
Subtarget.is32BitELFABI(), where spillCalleeSavedRegisters is spilling
cr in a different way. The spill was missing CFI. After deleting this
code, a spill of cr2 to cr4 gets CFI in the same way as a spill of r14
to r31.

Fixes #83094

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Done

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions