mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-30 06:40:53 +00:00
Delete renaming use of dead dbg intrinsics.
Intrinsic::dbg_stoppoint Intrinsic::dbg_region_start Intrinsic::dbg_region_end Intrinsic::dbg_func_start llvm-svn: 92672
This commit is contained in:
parent
e6e1c93fb9
commit
9c02d20409
@ -282,12 +282,6 @@ let Properties = [IntrNoMem] in {
|
|||||||
// optimizers can change them aggressively. Special handling needed in a few
|
// optimizers can change them aggressively. Special handling needed in a few
|
||||||
// places.
|
// places.
|
||||||
let Properties = [IntrNoMem] in {
|
let Properties = [IntrNoMem] in {
|
||||||
def int_dbg_stoppoint : Intrinsic<[llvm_void_ty],
|
|
||||||
[llvm_i32_ty, llvm_i32_ty,
|
|
||||||
llvm_metadata_ty]>;
|
|
||||||
def int_dbg_region_start : Intrinsic<[llvm_void_ty], [llvm_metadata_ty]>;
|
|
||||||
def int_dbg_region_end : Intrinsic<[llvm_void_ty], [llvm_metadata_ty]>;
|
|
||||||
def int_dbg_func_start : Intrinsic<[llvm_void_ty], [llvm_metadata_ty]>;
|
|
||||||
def int_dbg_declare : Intrinsic<[llvm_void_ty],
|
def int_dbg_declare : Intrinsic<[llvm_void_ty],
|
||||||
[llvm_descriptor_ty, llvm_metadata_ty]>;
|
[llvm_descriptor_ty, llvm_metadata_ty]>;
|
||||||
def int_dbg_value : Intrinsic<[llvm_void_ty],
|
def int_dbg_value : Intrinsic<[llvm_void_ty],
|
||||||
|
@ -427,10 +427,6 @@ void IntrinsicLowering::LowerIntrinsicCall(CallInst *CI) {
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
case Intrinsic::dbg_stoppoint:
|
|
||||||
case Intrinsic::dbg_region_start:
|
|
||||||
case Intrinsic::dbg_region_end:
|
|
||||||
case Intrinsic::dbg_func_start:
|
|
||||||
case Intrinsic::dbg_declare:
|
case Intrinsic::dbg_declare:
|
||||||
break; // Simply strip out debugging intrinsics
|
break; // Simply strip out debugging intrinsics
|
||||||
|
|
||||||
|
@ -325,12 +325,6 @@ bool FastISel::SelectCall(User *I) {
|
|||||||
unsigned IID = F->getIntrinsicID();
|
unsigned IID = F->getIntrinsicID();
|
||||||
switch (IID) {
|
switch (IID) {
|
||||||
default: break;
|
default: break;
|
||||||
case Intrinsic::dbg_stoppoint:
|
|
||||||
case Intrinsic::dbg_region_start:
|
|
||||||
case Intrinsic::dbg_region_end:
|
|
||||||
case Intrinsic::dbg_func_start:
|
|
||||||
// FIXME - Remove this instructions once the dust settles.
|
|
||||||
return true;
|
|
||||||
case Intrinsic::dbg_declare: {
|
case Intrinsic::dbg_declare: {
|
||||||
DbgDeclareInst *DI = cast<DbgDeclareInst>(I);
|
DbgDeclareInst *DI = cast<DbgDeclareInst>(I);
|
||||||
if (!DIDescriptor::ValidDebugInfo(DI->getVariable(), CodeGenOpt::None)||!DW
|
if (!DIDescriptor::ValidDebugInfo(DI->getVariable(), CodeGenOpt::None)||!DW
|
||||||
|
@ -4418,12 +4418,6 @@ SelectionDAGBuilder::visitIntrinsicCall(CallInst &I, unsigned Intrinsic) {
|
|||||||
DAG.AssignOrdering(Res.getNode(), SDNodeOrder);
|
DAG.AssignOrdering(Res.getNode(), SDNodeOrder);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
case Intrinsic::dbg_stoppoint:
|
|
||||||
case Intrinsic::dbg_region_start:
|
|
||||||
case Intrinsic::dbg_region_end:
|
|
||||||
case Intrinsic::dbg_func_start:
|
|
||||||
// FIXME - Remove this instructions once the dust settles.
|
|
||||||
return 0;
|
|
||||||
case Intrinsic::dbg_declare: {
|
case Intrinsic::dbg_declare: {
|
||||||
if (OptLevel != CodeGenOpt::None)
|
if (OptLevel != CodeGenOpt::None)
|
||||||
// FIXME: Variable debug info is not supported here.
|
// FIXME: Variable debug info is not supported here.
|
||||||
|
Loading…
Reference in New Issue
Block a user