This is an archive of the discontinued LLVM Phabricator instance.

[CGP] Fix Complex addressing mode for offset
ClosedPublic

Authored by skatkov on Dec 14 2017, 12:51 AM.

Details

Summary

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.

Diff Detail

Repository
rL LLVM

Event Timeline

skatkov created this revision.Dec 14 2017, 12:51 AM

Ping, we need this fix to enable select handling in complex addressing mode.

reames accepted this revision.Jan 2 2018, 2:16 PM

LGTM

This revision is now accepted and ready to land.Jan 2 2018, 2:16 PM
This revision was automatically updated to reflect the committed changes.