This is an archive of the discontinued LLVM Phabricator instance.

[X86] Add proper BTVER2 sched support for MOV
ClosedPublic

Authored by avt77 on Nov 22 2017, 4:43 AM.

Details

Summary

The current sched model uses JAny for mov instruction but it's wrong and should be changed on JALU01.

Diff Detail

Event Timeline

avt77 created this revision.Nov 22 2017, 4:43 AM
avt77 retitled this revision from A new sched model for mov instruction on btver2 to [X86] Add proper BTVER2 sched support for MOV.Nov 23 2017, 1:53 AM
spatel accepted this revision.Dec 5 2017, 2:48 PM

This isn't correct for moves between scalar and vector for example, but it's less wrong in those cases, so LGTM as a partial fix.

This revision is now accepted and ready to land.Dec 5 2017, 2:48 PM
This revision was automatically updated to reflect the committed changes.