This is an archive of the discontinued LLVM Phabricator instance.

[X86][Basically NFC] Split WriteBitScan into WriteBitScanReverse and WriteBitScanForward.
ClosedPublic

Authored by lebedev.ri on Jul 5 2018, 2:33 PM.

Details

Summary

Motivation:

This only does the mechanical splitting, does not actually change any numbers,
as the tests added in previous revision show.

Diff Detail

Repository
rL LLVM

Event Timeline

lebedev.ri created this revision.Jul 5 2018, 2:33 PM
craig.topper accepted this revision.Jul 5 2018, 2:55 PM
craig.topper added inline comments.
lib/Target/X86/X86Schedule.td
131 ↗(On Diff #154315)

I kind of wonder if we shouldn't just call them WriteBSF/WriteBSR now.

This revision is now accepted and ready to land.Jul 5 2018, 2:55 PM

Thank you for the review!

lib/Target/X86/X86Schedule.td
131 ↗(On Diff #154315)

Hm, why not.

This revision was automatically updated to reflect the committed changes.