GVN-hoist: invalidate MD cache (PR29144)
authorSebastian Pop <sebpop@gmail.com>
Sat, 27 Aug 2016 02:48:41 +0000 (02:48 +0000)
committerSebastian Pop <sebpop@gmail.com>
Sat, 27 Aug 2016 02:48:41 +0000 (02:48 +0000)
commit4660199a3315513aa18fc4899d39cef17beaea0c
tree030de39bf1922a5e6e509de73999113a2825b7af
parentacb857b83180a70f0aa42a8e98f40c4b0537d629
GVN-hoist: invalidate MD cache (PR29144)

Without invalidating the entries in the MD cache we would try to access instructions
that were removed in previous iterations of hoisting.

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

llvm-svn: 279907
llvm/lib/Transforms/Scalar/GVNHoist.cpp