mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-12 15:30:56 +00:00
Delete dead code; fix 80 col violations.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30583 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
75645496fa
commit
f10c17f986
@ -456,22 +456,15 @@ let isCall = 1, noResults = 1 in
|
||||
|
||||
// Tail call stuff.
|
||||
let isCall = 1, isTerminator = 1, isReturn = 1, isBarrier = 1, noResults = 1 in
|
||||
def TAILJMPd : IBr<0xE9, (ops i32imm:$dst), "jmp ${dst:call} # TAIL CALL", []>;
|
||||
def TAILJMPd : IBr<0xE9, (ops i32imm:$dst), "jmp ${dst:call} # TAIL CALL",
|
||||
[]>;
|
||||
let isCall = 1, isTerminator = 1, isReturn = 1, isBarrier = 1, noResults = 1 in
|
||||
def TAILJMPr : I<0xFF, MRM4r, (ops GR32:$dst), "jmp {*}$dst # TAIL CALL", []>;
|
||||
def TAILJMPr : I<0xFF, MRM4r, (ops GR32:$dst), "jmp {*}$dst # TAIL CALL",
|
||||
[]>;
|
||||
let isCall = 1, isTerminator = 1, isReturn = 1, isBarrier = 1, noResults = 1 in
|
||||
def TAILJMPm : I<0xFF, MRM4m, (ops i32mem:$dst),
|
||||
"jmp {*}$dst # TAIL CALL", []>;
|
||||
|
||||
// ADJSTACKPTRri - This is a standard ADD32ri instruction, identical in every
|
||||
// way, except that it is marked as being a terminator. This causes the epilog
|
||||
// inserter to insert reloads of callee saved registers BEFORE this. We need
|
||||
// this until we have a more accurate way of tracking where the stack pointer is
|
||||
// within a function.
|
||||
let isTerminator = 1, isTwoAddress = 1 in
|
||||
def ADJSTACKPTRri : Ii32<0x81, MRM0r, (ops GR32:$dst, GR32:$src1, i32imm:$src2),
|
||||
"add{l} {$src2, $dst|$dst, $src2}", []>;
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
// Miscellaneous Instructions...
|
||||
//
|
||||
|
@ -1093,9 +1093,6 @@ void X86RegisterInfo::emitEpilogue(MachineFunction &MF,
|
||||
PI->getOperand(0).getReg() == StackPtr) {
|
||||
NumBytes -= PI->getOperand(2).getImmedValue();
|
||||
MBB.erase(PI);
|
||||
} else if (PI->getOpcode() == X86::ADJSTACKPTRri) {
|
||||
NumBytes += PI->getOperand(1).getImmedValue();
|
||||
MBB.erase(PI);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user