This is an archive of the discontinued LLVM Phabricator instance.

[X86][SLH] Remove PDEP and PEXT from isDataInvariantLoad
ClosedPublic

Authored by craig.topper on Jul 13 2018, 12:11 PM.

Details

Summary

Ryzen has something like an 18 cycle latency on these based on Agner's data. AMD's own xls is blank. So it seems like there might be something tricky here. Might be safer to remove them. We never generate them without an intrinsic so this might be ok.

Diff Detail

Event Timeline

craig.topper created this revision.Jul 13 2018, 12:11 PM
chandlerc accepted this revision.Jul 13 2018, 2:59 PM

Yeah, I'm not sure I trust these even on Intel HW come to think of it. LGTM.

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