[all-commits] [llvm/llvm-project] d58512: [SLP] Don't vectorize stores of non-packed types (...
Björn Pettersson via All-commits
all-commits at lists.llvm.org
Thu Jan 14 02:35:34 PST 2021
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: d58512b2e31a255dccc2c9a351a4e47b2b4c9f79
https://github.com/llvm/llvm-project/commit/d58512b2e31a255dccc2c9a351a4e47b2b4c9f79
Author: Bjorn Pettersson <bjorn.a.pettersson at ericsson.com>
Date: 2021-01-14 (Thu, 14 Jan 2021)
Changed paths:
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
M llvm/test/Transforms/SLPVectorizer/X86/bad_types.ll
Log Message:
-----------
[SLP] Don't vectorize stores of non-packed types (like i1, i2)
In the spirit of commit fc783e91e0c0696e (llvm-svn: 248943) we
shouldn't vectorize stores of non-packed types (i.e. types that
has padding between consecutive variables in a scalar layout,
but being packed in a vector layout).
The problem was detected as a miscompile in a downstream test case.
Reviewed By: anton-afanasyev
Differential Revision: https://reviews.llvm.org/D94446
More information about the All-commits
mailing list