This is an archive of the discontinued LLVM Phabricator instance.

[NFC][LoopVectorizer] Simplify LoopVectorize/X86/gather_scatter.ll
ClosedPublic

Authored by a.elovikov on Feb 14 2022, 2:46 PM.

Details

Summary

The test used to run whole O3 pipeline. Modify it to contain LLVM IR right
before LV and limit passes to "-loop-vectorizer -simplifycfg".

For the RUN line with forced VF force interleave factor as well to simplify
CHECKs as interleaving isn't related to the purpose of the test.

I also tried to add "noalias" to pointer arguments in
@test_gather_not_profitable_pr48429 but LAI seems unable to use them.

Diff Detail

Event Timeline

a.elovikov requested review of this revision.Feb 14 2022, 2:46 PM
a.elovikov created this revision.
Herald added a project: Restricted Project. · View Herald TranscriptFeb 14 2022, 2:46 PM

Ping x2. Can you suggest who can I ask to review this?

fhahn accepted this revision.Feb 28 2022, 9:34 AM

LGTM, thanks! Reducing reliance on -O3 here is great and it looks like gather/scatter codegen is still tested without large interleave counts.

This revision is now accepted and ready to land.Feb 28 2022, 9:34 AM