OSDN Git Service

the correct fix was to fix AliasAnalysis.getModRefInfo
authorAndrew Lenharth <andrewl@lenharth.org>
Mon, 20 Jun 2005 15:25:22 +0000 (15:25 +0000)
committerAndrew Lenharth <andrewl@lenharth.org>
Mon, 20 Jun 2005 15:25:22 +0000 (15:25 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22268 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Analysis/LoadValueNumbering.cpp

index 721fe47..16e79a1 100644 (file)
@@ -328,10 +328,6 @@ void LoadVN::getEqualNumberNodes(Value *V,
       LoadInvalidatedInBBBefore = true;
       break;
     }
-    if (dyn_cast<VAArgInst>(I)) {
-      LoadInvalidatedInBBBefore = true;
-      break;
-    }
   }
 
   // Figure out if the load is invalidated between the load and the exit of the