This is an archive of the discontinued LLVM Phabricator instance.

[X86] Add tests for shuffle as shift/rotate; NFC
ClosedPublic

Authored by goldstein.w.n on Feb 12 2023, 2:14 PM.

Diff Detail

Event Timeline

goldstein.w.n created this revision.Feb 12 2023, 2:14 PM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 12 2023, 2:14 PM
Herald added a subscriber: pengfei. · View Herald Transcript
goldstein.w.n requested review of this revision.Feb 12 2023, 2:14 PM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 12 2023, 2:14 PM
RKSimon accepted this revision.Feb 17 2023, 3:54 AM

LGTM with a few minors

llvm/test/CodeGen/X86/shuffle-as-shifts.ll
4

Include a test run with x86-86-v4 (and maybe znver4)

7

Maybe rename these to include the shuffle mask - its often very useful when searching: shuffle_rot_v4i32_1032 etc.

This revision is now accepted and ready to land.Feb 17 2023, 3:54 AM
goldstein.w.n marked 2 inline comments as done.Feb 20 2023, 6:02 PM

Add more targets + common check + rename

Rename functions + add more targets + common checks

Rename functions + common check + more targets

This revision was automatically updated to reflect the committed changes.