This is an archive of the discontinued LLVM Phabricator instance.

[VectorUtils][X86] De-templatize scaleShuffleMask and 2 X86 shuffle mask helpers and move their implementation to cpp files
ClosedPublic

Authored by craig.topper on Mar 31 2020, 3:57 PM.

Details

Summary

These were templated due to SelectionDAG using int masks for shuffles and IR using unsigned masks for shuffles. But now that D72467 has landed we have an int mask version of IRBuilder::CreateShuffleVector. So just use int instead of a template

Diff Detail

Event Timeline

craig.topper created this revision.Mar 31 2020, 3:57 PM
This revision is now accepted and ready to land.Mar 31 2020, 4:25 PM
RKSimon accepted this revision.Apr 1 2020, 12:21 AM

LGTM - cheers

This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptApr 1 2020, 1:04 AM