This is an archive of the discontinued LLVM Phabricator instance.

Pre-commit test case for D101970
ClosedPublic

Authored by Carrot on May 6 2021, 10:58 AM.

Details

Summary

This is a test case for D101970, which shows the optimization opportunity for

    lea (reg1, reg2), reg3
    sub reg3, reg4

to

    sub reg1, reg4
    sub reg2, reg4

Diff Detail

Event Timeline

Carrot created this revision.May 6 2021, 10:58 AM
Carrot requested review of this revision.May 6 2021, 10:58 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 6 2021, 10:58 AM
RKSimon accepted this revision.May 8 2021, 8:10 AM

LGTM

This revision is now accepted and ready to land.May 8 2021, 8:10 AM
This revision was automatically updated to reflect the committed changes.