HomeFreeBSD

Pull in r303257 from upstream llvm trunk (by Krzysztof Parzyszek)

Description

Pull in r303257 from upstream llvm trunk (by Krzysztof Parzyszek)

[PPC] Properly update register save area offsets

The variables MinGPR/MinG8R were not updated properly when resetting the
offsets, which in the included testcase lead to saving the CR register
in the same location as R30.

This fixes another issue reported in PR26519.

Differential Revision: https://reviews.llvm.org/D33017

Reported by: Mark Millard
PR: 206990
MFC after: 3 days

Details

Provenance
dimAuthored on
Parents
rS318905: MFC r318527
Branches
Unknown
Tags
Unknown