[all-commits] [llvm/llvm-project] 6b70c5: [PowerPC] provide CFI for ELF32 to unwind cr2, cr3...
George Koehler via All-commits
all-commits at lists.llvm.org
Sat Mar 2 19:18:36 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 6b70c5d79fe44cbe01b0443454c6952c5b541585
https://github.com/llvm/llvm-project/commit/6b70c5d79fe44cbe01b0443454c6952c5b541585
Author: George Koehler <kernigh at gmail.com>
Date: 2024-03-02 (Sat, 02 Mar 2024)
Changed paths:
M llvm/lib/Target/PowerPC/PPCFrameLowering.cpp
M llvm/test/CodeGen/PowerPC/crsave.ll
Log Message:
-----------
[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
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