This is an archive of the discontinued LLVM Phabricator instance.

[X86][Costmodel] `getInterleavedMemoryOpCostAVX512()`: masked load can not be folded into a shuffle
ClosedPublic

Authored by lebedev.ri on Nov 29 2021, 4:15 AM.

Details

Summary

The mask on the shuffle is for the output, not the input.

Diff Detail

Event Timeline

lebedev.ri created this revision.Nov 29 2021, 4:15 AM

How easy is it to add test coverage for this?

How easy is it to add test coverage for this?

Not very, added.

RKSimon accepted this revision.Nov 29 2021, 7:16 AM

LGTM - at least we know the code path is touched :)

This revision is now accepted and ready to land.Nov 29 2021, 7:16 AM

LGTM - at least we know the code path is touched :)

Thank you for the review!