mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-07 14:33:15 +00:00
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:
parent
1b346b7f8f
commit
f082d7abe1
@ -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: {
|
||||||
|
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user