[GVNHoist] Invalidate MemDep when an instruction is moved.
authorEli Friedman <efriedma@codeaurora.org>
Wed, 7 Dec 2016 19:55:59 +0000 (19:55 +0000)
committerEli Friedman <efriedma@codeaurora.org>
Wed, 7 Dec 2016 19:55:59 +0000 (19:55 +0000)
commitc6885fc369945a8fe196301b7c2357e11a4c5f20
tree73628404e0fa3121170be64d46149d2bf3908c57
parent49326e4d8467813ef08102389dbb143e329fdef9
[GVNHoist] Invalidate MemDep when an instruction is moved.

See also r279907.

Fixes https://llvm.org/bugs/show_bug.cgi?id=30991 .

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

llvm-svn: 288968
llvm/lib/Transforms/Scalar/GVNHoist.cpp
llvm/test/Transforms/GVNHoist/hoist.ll