OSDN Git Service

[SLP] Revert everything that has to do with memory access sorting.
authorMichael Kuperstein <mkuper@google.com>
Fri, 10 Mar 2017 18:59:07 +0000 (18:59 +0000)
committerMichael Kuperstein <mkuper@google.com>
Fri, 10 Mar 2017 18:59:07 +0000 (18:59 +0000)
commit70d8785561836373ff731330393defb072a127c8
tree70ea2e3e34fae2fddd95756fbb1d6b8424f9c85e
parent49e0bf23d71d8c7cd8d6629c4811ee86c5d1bae6
[SLP] Revert everything that has to do with memory access sorting.

This reverts r293386, r294027, r294029 and r296411.

Turns out the SLP tree isn't actually a "tree" and we don't handle
accessing the same packet of loads in several different orders well,
causing miscompiles.

Revert until we can fix this properly.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@297493 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Analysis/LoopAccessAnalysis.h
lib/Analysis/LoopAccessAnalysis.cpp
lib/Transforms/Vectorize/SLPVectorizer.cpp
test/Transforms/SLPVectorizer/X86/jumbled-load.ll
test/Transforms/SLPVectorizer/X86/jumbled-same.ll [deleted file]
test/Transforms/SLPVectorizer/X86/reduction_loads.ll
test/Transforms/SLPVectorizer/X86/store-jumbled.ll