Remove this as dbginfo intrinsics has been defined as

IntrNoMem.

llvm-svn: 66256
This commit is contained in:
Zhou Sheng 2009-03-06 06:05:01 +00:00
parent 3ae9d5d375
commit e3fb6cafd0

View File

@ -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)) {