diff options
author | Bjorn Pettersson <bjorn.a.pettersson@ericsson.com> | 2020-12-28 14:28:55 +0100 |
---|---|---|
committer | Bjorn Pettersson <bjorn.a.pettersson@ericsson.com> | 2021-01-14 11:30:33 +0100 |
commit | d58512b2e31a255dccc2c9a351a4e47b2b4c9f79 (patch) | |
tree | a5af8b9c601179d96aed6739b6d3bf9bc1d66f4e /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 53e3b81faaf32a495189182e0e4d635cbe19c5dd (diff) | |
download | llvm-d58512b2e31a255dccc2c9a351a4e47b2b4c9f79.zip llvm-d58512b2e31a255dccc2c9a351a4e47b2b4c9f79.tar.gz llvm-d58512b2e31a255dccc2c9a351a4e47b2b4c9f79.tar.bz2 |
[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
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions