[DA] Fix direction vectors for weakZeroSrcSIV
commit51a3d8908401f50b61d2568360b37c62836b1ee3
authorDavid Green <david.green@arm.com>
Thu, 31 May 2018 14:55:29 +0000 (31 14:55 +0000)
committerDavid Green <david.green@arm.com>
Thu, 31 May 2018 14:55:29 +0000 (31 14:55 +0000)
tree50d8fa2cad80388aac719dd0e25bd5c9e1cc6d0d
parent38dac027e19663701cb6a67c5f58e39f75a882d8
[DA] Fix direction vectors for weakZeroSrcSIV

Both weakZeroSrcSIV and weakZeroDstSIV are currently giving the same
direction vectors. Fix weakZeroSrcSIVtest by flipping the directions
it gives.

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@333658 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/DependenceAnalysis.cpp
test/Analysis/DependenceAnalysis/Coupled.ll
test/Analysis/DependenceAnalysis/WeakZeroDstSIV.ll
test/Analysis/DependenceAnalysis/WeakZeroSrcSIV.ll