This is an archive of the discontinued LLVM Phabricator instance.

[WIP][X86][AVX2] More broadcasts from constant pool
AbandonedPublic

Authored by lebedev.ri on Apr 6 2022, 4:59 AM.

Details

Reviewers
RKSimon
Summary

We weren't creating i8/i16 broadcasts from constant pool, even though we can.
This shows a number of new load folding failures, and i'm not really sure what to do about them.
Do we want this in the first place?

Diff Detail

Event Timeline

lebedev.ri created this revision.Apr 6 2022, 4:59 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 6 2022, 4:59 AM
lebedev.ri requested review of this revision.Apr 6 2022, 4:59 AM
RKSimon added inline comments.Apr 6 2022, 6:32 AM
llvm/test/CodeGen/X86/avx512-arith.ll
327

Pull out the AVX512 support for i64 broadcasts first? That should be well defined, is a more likely win, and should help reduce this massive patch.....

lebedev.ri abandoned this revision.Apr 12 2022, 12:38 PM