This is an archive of the discontinued LLVM Phabricator instance.

[X86][SchedModel] Add missing ReadAdvance for some arithmetic ops (PR51318 and PR51322)
ClosedPublic

Authored by andreadb on Aug 3 2021, 9:21 AM.

Details

Summary

This fixes a bug where implicit uses of EFLAGS were not marked as ReadAdvance in the RM/MR variants of ADC/SBB (PR51318).

This also fixes the absence of ReadAdvance for the register operand of RMW arithmetic instructions (PR51322).

Diff Detail

Event Timeline

andreadb created this revision.Aug 3 2021, 9:21 AM
andreadb requested review of this revision.Aug 3 2021, 9:21 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 3 2021, 9:21 AM
andreadb updated this revision to Diff 363776.Aug 3 2021, 9:32 AM

Forgot to remove FIXME comments from tests.

andreadb updated this revision to Diff 363789.Aug 3 2021, 10:03 AM

Add extra comments to improve readability.

RKSimon accepted this revision.Aug 4 2021, 4:31 AM

LGTM - cheers

This revision is now accepted and ready to land.Aug 4 2021, 4:31 AM