[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)
commit9cc0c3999d20c4a8d2c8ac343240c29155f35214
tree3eb44f1fd56d678f4cf550bf62f93377cfef350f
parent832a28c945577eb6807e57ba647c2f37baff6aaa
[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.

llvm-svn: 230647
llvm/lib/Analysis/LoopAccessAnalysis.cpp
llvm/test/Analysis/LoopAccessAnalysis/backward-dep-different-types.ll [new file with mode: 0644]