NewGVN: This patch makes memory congruence work for all types of
authorDaniel Berlin <dberlin@dberlin.org>
Thu, 6 Apr 2017 18:52:50 +0000 (18:52 +0000)
committerDaniel Berlin <dberlin@dberlin.org>
Thu, 6 Apr 2017 18:52:50 +0000 (18:52 +0000)
commit1316a94ebc544660f2a0e93b2f3564e932db9d24
tree0b9c5a4e193636cd306ba36aad0e93e1795556ff
parenta0b99e45e9955ecbbc478b18df19712007f3cf9e
NewGVN: This patch makes memory congruence work for all types of
memorydefs, not just stores.  Along the way, we audit and fixup issues
about how we were tracking memory leaders, and improve the verifier
to notice more memory congruency issues.

llvm-svn: 299682
llvm/include/llvm/Transforms/Scalar/GVNExpression.h
llvm/lib/Transforms/Scalar/NewGVN.cpp
llvm/test/Transforms/NewGVN/pr31613.ll
llvm/test/Transforms/NewGVN/refine-stores.ll [new file with mode: 0644]