[llvm] [LoadStoreVectorizer] Allow redundant stores (PR #169946)
Drew Kersnar via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 2 12:58:27 PST 2025
dakersnar wrote:
>Why? The vectorizer should not be making attempts to handle patterns that should have optimized away already
I agree with Matt. Putting too much responsibility on the Vectorizer seems like a mistake, when this isn't really the job for the Vectorizer. Just because the Vectorizer can incidentally handle this problem doesn't mean it should.
>We either need to add another DSE pass somewhere
I lean towards this being the right solution.
https://github.com/llvm/llvm-project/pull/169946
More information about the llvm-commits
mailing list