Revert 93811 per request.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93818 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Dale Johannesen 2010-01-19 00:10:52 +00:00
parent 1b346b7f8f
commit f082d7abe1
2 changed files with 0 additions and 13 deletions

View File

@ -343,9 +343,6 @@ bool FastISel::SelectCall(User *I) {
if (MDNode *Dbg = DI->getMetadata("dbg")) if (MDNode *Dbg = DI->getMetadata("dbg"))
MMI->setVariableDbgInfo(DI->getVariable(), FI, Dbg); MMI->setVariableDbgInfo(DI->getVariable(), FI, Dbg);
} }
// Building the map above is target independent. Generating DEBUG_VALUE
// inline is target dependent; do this now.
(void)TargetSelectInstruction(cast<Instruction>(I));
return true; return true;
} }
case Intrinsic::eh_exception: { case Intrinsic::eh_exception: {

View File

@ -1153,16 +1153,6 @@ bool X86FastISel::X86VisitIntrinsicCall(IntrinsicInst &I) {
// FIXME: Handle more intrinsics. // FIXME: Handle more intrinsics.
switch (I.getIntrinsicID()) { switch (I.getIntrinsicID()) {
default: return false; default: return false;
case Intrinsic::dbg_declare: {
DbgDeclareInst *DI = cast<DbgDeclareInst>(&I);
X86AddressMode AM;
if (!X86SelectAddress(DI->getAddress(), AM))
return false;
const TargetInstrDesc &II = TII.get(TargetInstrInfo::DEBUG_VALUE);
addFullAddress(BuildMI(MBB, DL, II), AM).addImm(0).
addMetadata(DI->getVariable());
return true;
}
case Intrinsic::trap: { case Intrinsic::trap: {
BuildMI(MBB, DL, TII.get(X86::TRAP)); BuildMI(MBB, DL, TII.get(X86::TRAP));
return true; return true;