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:
Reid Kleckner 2017-08-14 22:10:54 +00:00
parent 1255b165bf
commit 18728822d2
3 changed files with 0 additions and 4 deletions

View File

@ -1108,7 +1108,6 @@ Instruction *InstCombiner::foldAllocaCmp(ICmpInst &ICI,
// because we don't allow ptrtoint. Memcpy and memmove are safe because // because we don't allow ptrtoint. Memcpy and memmove are safe because
// we don't allow stores, so src cannot point to V. // we don't allow stores, so src cannot point to V.
case Intrinsic::lifetime_start: case Intrinsic::lifetime_end: 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: case Intrinsic::memcpy: case Intrinsic::memmove: case Intrinsic::memset:
continue; continue;
default: default:

View File

@ -39,7 +39,6 @@ class CallSite;
class DataLayout; class DataLayout;
class DominatorTree; class DominatorTree;
class TargetLibraryInfo; class TargetLibraryInfo;
class DbgDeclareInst;
class MemIntrinsic; class MemIntrinsic;
class MemSetInst; class MemSetInst;
class OptimizationRemarkEmitter; class OptimizationRemarkEmitter;

View File

@ -2057,8 +2057,6 @@ static bool isAllocSiteRemovable(Instruction *AI,
return false; return false;
LLVM_FALLTHROUGH; LLVM_FALLTHROUGH;
} }
case Intrinsic::dbg_declare:
case Intrinsic::dbg_value:
case Intrinsic::invariant_start: case Intrinsic::invariant_start:
case Intrinsic::invariant_end: case Intrinsic::invariant_end:
case Intrinsic::lifetime_start: case Intrinsic::lifetime_start: