This is an archive of the discontinued LLVM Phabricator instance.

[X86] Enable YMM memcmp with AVX1
AbandonedPublic

Authored by davezarzycki on Oct 31 2019, 3:55 AM.

Details

Summary

Update TargetTransformInfo to allow AVX1 to use YMM registers for memcmp.

This is a follow up to D68632 which enabled XOR compares which made this possible.

Diff Detail

Event Timeline

davezarzycki created this revision.Oct 31 2019, 3:55 AM
spatel accepted this revision.Oct 31 2019, 7:45 AM

LGTM

This revision is now accepted and ready to land.Oct 31 2019, 7:45 AM
RKSimon reopened this revision.Oct 31 2019, 12:06 PM

@davezarzycki I'm sorry but I've had to revert this - please can you regenerate the broken tests and try again?

This revision is now accepted and ready to land.Oct 31 2019, 12:06 PM
RKSimon requested changes to this revision.Oct 31 2019, 12:07 PM
This revision now requires changes to proceed.Oct 31 2019, 12:07 PM
davezarzycki abandoned this revision.Nov 5 2019, 3:53 AM