Fix PR5744, a case where we were getting the pointer size instead of the
authorChris Lattner <sabre@nondot.org>
Thu, 10 Dec 2009 00:11:45 +0000 (00:11 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 10 Dec 2009 00:11:45 +0000 (00:11 +0000)
commit16f244e9822ffca7818d202df90cd2049f5b6cf6
tree0866d5997770bb343ac5b959393840b1cdaa7e3b
parent3728e96a6c0f68f4f5b656c2372e9cbbe6e74d86
Fix PR5744, a case where we were getting the pointer size instead of the
value size.  This only manifested when memdep inprecisely returns clobber,
which is do to a caching issue in the PR5744 testcase.  We can 'efficiently
emulate' this by using '-no-aa'

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91004 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/GVN.cpp
test/Transforms/GVN/crash-no-aa.ll [new file with mode: 0644]