mirror of
https://github.com/RPCSX/llvm.git
synced 2025-05-13 10:56:01 +00:00
Remove dead code.
Patch by Ahmed Charles git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@151360 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
37b6e5ae7d
commit
19411101a1
@ -93,8 +93,6 @@ void XCoreFrameLowering::emitPrologue(MachineFunction &MF) const {
|
|||||||
MachineBasicBlock::iterator MBBI = MBB.begin();
|
MachineBasicBlock::iterator MBBI = MBB.begin();
|
||||||
MachineFrameInfo *MFI = MF.getFrameInfo();
|
MachineFrameInfo *MFI = MF.getFrameInfo();
|
||||||
MachineModuleInfo *MMI = &MF.getMMI();
|
MachineModuleInfo *MMI = &MF.getMMI();
|
||||||
const XCoreRegisterInfo *RegInfo =
|
|
||||||
static_cast<const XCoreRegisterInfo*>(MF.getTarget().getRegisterInfo());
|
|
||||||
const XCoreInstrInfo &TII =
|
const XCoreInstrInfo &TII =
|
||||||
*static_cast<const XCoreInstrInfo*>(MF.getTarget().getInstrInfo());
|
*static_cast<const XCoreInstrInfo*>(MF.getTarget().getInstrInfo());
|
||||||
XCoreFunctionInfo *XFI = MF.getInfo<XCoreFunctionInfo>();
|
XCoreFunctionInfo *XFI = MF.getInfo<XCoreFunctionInfo>();
|
||||||
@ -119,7 +117,7 @@ void XCoreFrameLowering::emitPrologue(MachineFunction &MF) const {
|
|||||||
// FIXME could emit multiple instructions.
|
// FIXME could emit multiple instructions.
|
||||||
report_fatal_error("emitPrologue Frame size too big: " + Twine(FrameSize));
|
report_fatal_error("emitPrologue Frame size too big: " + Twine(FrameSize));
|
||||||
}
|
}
|
||||||
bool emitFrameMoves = RegInfo->needsFrameMoves(MF);
|
bool emitFrameMoves = XCoreRegisterInfo::needsFrameMoves(MF);
|
||||||
|
|
||||||
// Do we need to allocate space on the stack?
|
// Do we need to allocate space on the stack?
|
||||||
if (FrameSize) {
|
if (FrameSize) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user