[LV/LoopAccesses] Backward dependences are not safe just because the
authorAdam Nemet <anemet@apple.com>
Thu, 26 Feb 2015 17:58:48 +0000 (17:58 +0000)
committerAdam Nemet <anemet@apple.com>
Thu, 26 Feb 2015 17:58:48 +0000 (17:58 +0000)
commite382bb9e353b7eac4ea17487eff1fb48bd7b6b9b
treea5625cf4e156c59dd9e5e1c300847b7e522d4371
parent89e432838138b22042ff7fbd2fe021106284ba0e
[LV/LoopAccesses] Backward dependences are not safe just because the
accesses are via different types

Noticed this while generalizing the code for loop distribution.

I confirmed with Arnold that this was indeed a bug and managed to create
a testcase.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@230647 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/LoopAccessAnalysis.cpp
test/Analysis/LoopAccessAnalysis/backward-dep-different-types.ll [new file with mode: 0644]