This is an archive of the discontinued LLVM Phabricator instance.

[VectorCombine] allow peeking through an extractelt when creating a vector load
ClosedPublic

Authored by spatel on Dec 8 2020, 9:20 AM.

Details

Summary

This is an enhancement to load vectorization that is motivated by a pattern in https://llvm.org/PR16739.
Unfortunately, it's still not enough to make a difference there. We will have to handle multi-use cases in some better way to avoid creating multiple overlapping loads.

Diff Detail