From: Andrew Lenharth Date: Mon, 20 Jun 2005 15:25:22 +0000 (+0000) Subject: the correct fix was to fix AliasAnalysis.getModRefInfo X-Git-Tag: android-x86-6.0-r1~1003^2~48117 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=c826aea9825be1da844f46e18e41ae5f953e14b5;p=android-x86%2Fexternal-llvm.git the correct fix was to fix AliasAnalysis.getModRefInfo git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22268 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Analysis/LoadValueNumbering.cpp b/lib/Analysis/LoadValueNumbering.cpp index 721fe47da88..16e79a1286f 100644 --- a/lib/Analysis/LoadValueNumbering.cpp +++ b/lib/Analysis/LoadValueNumbering.cpp @@ -328,10 +328,6 @@ void LoadVN::getEqualNumberNodes(Value *V, LoadInvalidatedInBBBefore = true; break; } - if (dyn_cast(I)) { - LoadInvalidatedInBBBefore = true; - break; - } } // Figure out if the load is invalidated between the load and the exit of the