forked from OSchip/llvm-project
Remove checks for debug info intrinsics in use lists, NFC
These haven't done anything since debug info intrinsics stopped appearing in Value use lists in 2014. llvm-svn: 310892
This commit is contained in:
parent
1255b165bf
commit
18728822d2
|
@ -1108,7 +1108,6 @@ Instruction *InstCombiner::foldAllocaCmp(ICmpInst &ICI,
|
|||
// because we don't allow ptrtoint. Memcpy and memmove are safe because
|
||||
// we don't allow stores, so src cannot point to V.
|
||||
case Intrinsic::lifetime_start: case Intrinsic::lifetime_end:
|
||||
case Intrinsic::dbg_declare: case Intrinsic::dbg_value:
|
||||
case Intrinsic::memcpy: case Intrinsic::memmove: case Intrinsic::memset:
|
||||
continue;
|
||||
default:
|
||||
|
|
|
@ -39,7 +39,6 @@ class CallSite;
|
|||
class DataLayout;
|
||||
class DominatorTree;
|
||||
class TargetLibraryInfo;
|
||||
class DbgDeclareInst;
|
||||
class MemIntrinsic;
|
||||
class MemSetInst;
|
||||
class OptimizationRemarkEmitter;
|
||||
|
|
|
@ -2057,8 +2057,6 @@ static bool isAllocSiteRemovable(Instruction *AI,
|
|||
return false;
|
||||
LLVM_FALLTHROUGH;
|
||||
}
|
||||
case Intrinsic::dbg_declare:
|
||||
case Intrinsic::dbg_value:
|
||||
case Intrinsic::invariant_start:
|
||||
case Intrinsic::invariant_end:
|
||||
case Intrinsic::lifetime_start:
|
||||
|
|
Loading…
Reference in New Issue