[llvm-commits] [llvm] r66256 - /llvm/trunk/lib/Analysis/MemoryDependenceAnalysis.cpp
Zhou Sheng
zhousheng00 at gmail.com
Thu Mar 5 22:05:01 PST 2009
Author: sheng
Date: Fri Mar 6 00:05:01 2009
New Revision: 66256
URL: http://llvm.org/viewvc/llvm-project?rev=66256&view=rev
Log:
Remove this as dbginfo intrinsics has been defined as
IntrNoMem.
Modified:
llvm/trunk/lib/Analysis/MemoryDependenceAnalysis.cpp
Modified: llvm/trunk/lib/Analysis/MemoryDependenceAnalysis.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/MemoryDependenceAnalysis.cpp?rev=66256&r1=66255&r2=66256&view=diff
==============================================================================
--- llvm/trunk/lib/Analysis/MemoryDependenceAnalysis.cpp (original)
+++ llvm/trunk/lib/Analysis/MemoryDependenceAnalysis.cpp Fri Mar 6 00:05:01 2009
@@ -19,7 +19,6 @@
#include "llvm/Constants.h"
#include "llvm/Instructions.h"
#include "llvm/Function.h"
-#include "llvm/IntrinsicInst.h"
#include "llvm/Analysis/AliasAnalysis.h"
#include "llvm/ADT/Statistic.h"
#include "llvm/ADT/STLExtras.h"
@@ -223,10 +222,6 @@
return MemDepResult::getDef(AI);
continue;
}
-
- // Ignore debug info intrinsics.
- if (isa<DbgInfoIntrinsic>(Inst))
- continue;
// See if this instruction (e.g. a call or vaarg) mod/ref's the pointer.
switch (AA->getModRefInfo(Inst, MemPtr, MemSize)) {
More information about the llvm-commits
mailing list