diff options
author | Zhou Sheng <zhousheng00@gmail.com> | 2009-03-06 06:05:01 +0000 |
---|---|---|
committer | Zhou Sheng <zhousheng00@gmail.com> | 2009-03-06 06:05:01 +0000 |
commit | 7157228a58fe0025488130548680cf645e14f068 (patch) | |
tree | e1f73732d2e5b7b95859587c35bb977a0fe02a27 | |
parent | 06b1e67d44a6c13f9e75fbc1ac3c7de2df4776c9 (diff) | |
download | external_llvm-7157228a58fe0025488130548680cf645e14f068.zip external_llvm-7157228a58fe0025488130548680cf645e14f068.tar.gz external_llvm-7157228a58fe0025488130548680cf645e14f068.tar.bz2 |
Remove this as dbginfo intrinsics has been defined as
IntrNoMem.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66256 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Analysis/MemoryDependenceAnalysis.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/Analysis/MemoryDependenceAnalysis.cpp b/lib/Analysis/MemoryDependenceAnalysis.cpp index acadd9e..6af365b 100644 --- a/lib/Analysis/MemoryDependenceAnalysis.cpp +++ b/lib/Analysis/MemoryDependenceAnalysis.cpp @@ -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 @@ getPointerDependencyFrom(Value *MemPtr, uint64_t MemSize, bool isLoad, 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)) { |