mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-15 07:34:33 +00:00
Target/X86: Fix whitespace.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@124946 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
0f0889e24b
commit
2763538609
@ -318,7 +318,7 @@ void X86FrameLowering::emitCalleeSavedFrameMoves(MachineFunction &MF,
|
||||
// move" for this extra "PUSH", the linker will lose track of the fact that
|
||||
// the frame pointer should have the value of the first "PUSH" when it's
|
||||
// trying to unwind.
|
||||
//
|
||||
//
|
||||
// FIXME: This looks inelegant. It's possibly correct, but it's covering up
|
||||
// another bug. I.e., one where we generate a prolog like this:
|
||||
//
|
||||
@ -594,8 +594,8 @@ void X86FrameLowering::emitPrologue(MachineFunction &MF) const {
|
||||
StackPtr, false, NumBytes - 4);
|
||||
MBB.insert(MBBI, MI);
|
||||
}
|
||||
} else if (NumBytes >= 4096 &&
|
||||
STI.isTargetWin64() &&
|
||||
} else if (NumBytes >= 4096 &&
|
||||
STI.isTargetWin64() &&
|
||||
!STI.isTargetEnvMacho()) {
|
||||
// Sanity check that EAX is not livein for this function. It should
|
||||
// not be, so throw an assert.
|
||||
|
@ -63,7 +63,7 @@ static SDValue getMOVL(SelectionDAG &DAG, DebugLoc dl, EVT VT, SDValue V1,
|
||||
static TargetLoweringObjectFile *createTLOF(X86TargetMachine &TM) {
|
||||
const X86Subtarget *Subtarget = &TM.getSubtarget<X86Subtarget>();
|
||||
bool is64Bit = Subtarget->is64Bit();
|
||||
|
||||
|
||||
if (Subtarget->isTargetEnvMacho()) {
|
||||
if (is64Bit)
|
||||
return new X8664_MachoTargetObjectFile();
|
||||
@ -3394,7 +3394,7 @@ unsigned X86::getInsertVINSERTF128Immediate(SDNode *N) {
|
||||
llvm_unreachable("Illegal insert subvector for VINSERTF128");
|
||||
|
||||
uint64_t Index =
|
||||
cast<ConstantSDNode>(N->getOperand(2).getNode())->getZExtValue();
|
||||
cast<ConstantSDNode>(N->getOperand(2).getNode())->getZExtValue();
|
||||
|
||||
EVT VecVT = N->getValueType(0);
|
||||
EVT ElVT = VecVT.getVectorElementType();
|
||||
|
@ -333,7 +333,7 @@ extern "C" {
|
||||
extern "C" {
|
||||
#if !(defined (X86_64_JIT) && defined(_MSC_VER))
|
||||
// the following function is called only from this translation unit,
|
||||
// unless we are under 64bit Windows with MSC, where there is
|
||||
// unless we are under 64bit Windows with MSC, where there is
|
||||
// no support for inline assembly
|
||||
static
|
||||
#endif
|
||||
@ -462,7 +462,7 @@ TargetJITInfo::StubLayout X86JITInfo::getStubLayout() {
|
||||
|
||||
void *X86JITInfo::emitFunctionStub(const Function* F, void *Target,
|
||||
JITCodeEmitter &JCE) {
|
||||
// Note, we cast to intptr_t here to silence a -pedantic warning that
|
||||
// Note, we cast to intptr_t here to silence a -pedantic warning that
|
||||
// complains about casting a function pointer to a normal pointer.
|
||||
#if defined (X86_32_JIT) && !defined (_MSC_VER)
|
||||
bool NotCC = (Target != (void*)(intptr_t)X86CompilationCallback &&
|
||||
|
Loading…
x
Reference in New Issue
Block a user