llvm-project/llvm/test/Transforms/LoadStoreVectorizer/X86
Ivan A. Kosarev d60a3cc395 [Analysis] Fix merging TBAA tags with different final access types
There are cases when we have to merge TBAA access tags with the
same base access type, but different final access types. For
example, accesses to different members of the same structure may
be vectorized into a single load or store instruction. Since we
currently assume that the tags to merge always share the same
final access type, we incorrectly return a tag that describes an
access to one of the original final access types as the generic
tag. This patch fixes that by producing generic tags for the
common type and not the final access types of the original tags.

Resolves:
PR35225: Wrong tbaa metadata after load store vectorizer due to
recent change
https://bugs.llvm.org/show_bug.cgi?id=35225

Differential Revision: https://reviews.llvm.org/D39732

llvm-svn: 317682
2017-11-08 11:42:21 +00:00
..
correct-order.ll
lit.local.cfg
load-width.ll
merge-tbaa.ll [Analysis] Fix merging TBAA tags with different final access types 2017-11-08 11:42:21 +00:00
non-byte-size.ll [LSV] Skip all non-byte sizes, not only less than eight bits 2017-10-26 13:42:55 +00:00
preserve-order32.ll
preserve-order64.ll
subchain-interleaved.ll