This is an archive of the discontinued LLVM Phabricator instance.

[X86] Remove maximum vector width restriction from combineLoopSADPattern.
ClosedPublic

Authored by craig.topper on Mar 21 2020, 4:59 PM.

Details

Summary

SplitsOpsAndApply will take care of any needed splitting correctly.
All that we need to check is that the vector element count is a
power of 2.

Diff Detail

Event Timeline

craig.topper created this revision.Mar 21 2020, 4:59 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 21 2020, 4:59 PM
Herald added a subscriber: hiraditya. · View Herald Transcript
RKSimon accepted this revision.Mar 22 2020, 8:25 AM

LGTM

This revision is now accepted and ready to land.Mar 22 2020, 8:25 AM
This revision was automatically updated to reflect the committed changes.