HomeFreeBSD

Pull in r322056 from upstream llvm trunk (by Serguei Katkov):

Description

Pull in r322056 from upstream llvm trunk (by Serguei Katkov):

[CGP] Fix Complex addressing mode for offset

If the offset is differ in two addressing mode we can continue only
if ScaleReg is not set due to we will use it as merge of different
offsets.

It should fix PR35799 and PR35805.

Reviewers: john.brawn, reames
Reviewed By: reames
Subscribers: llvm-commits
Differential Revision: https://reviews.llvm.org/D41227

This should fix "ScaledReg == nullptr" assertions when building the
graphics/xpx, mail/alpine and editors/pico-alpine ports.

Reported by: jbeich
PR: 224866, 224995

Details

Provenance
dimAuthored on
Parents
rS327733: Pull in r322041 from upstream lld trunk (by Rui Ueyama):
Branches
Unknown
Tags
Unknown