Changes in directory llvm/lib/Target/X86:
X86ISelLowering.cpp updated: 1.358 -> 1.359 --- Log message: Simplify things --- Diffs of the changes: (+2 -8) X86ISelLowering.cpp | 10 ++-------- 1 files changed, 2 insertions(+), 8 deletions(-) Index: llvm/lib/Target/X86/X86ISelLowering.cpp diff -u llvm/lib/Target/X86/X86ISelLowering.cpp:1.358 llvm/lib/Target/X86/X86ISelLowering.cpp:1.359 --- llvm/lib/Target/X86/X86ISelLowering.cpp:1.358 Thu Mar 1 23:12:29 2007 +++ llvm/lib/Target/X86/X86ISelLowering.cpp Fri Mar 2 15:50:27 2007 @@ -30,16 +30,11 @@ #include "llvm/CodeGen/MachineInstrBuilder.h" #include "llvm/CodeGen/SelectionDAG.h" #include "llvm/CodeGen/SSARegMap.h" -#include "llvm/Support/CommandLine.h" #include "llvm/Support/MathExtras.h" #include "llvm/Target/TargetOptions.h" #include "llvm/ADT/StringExtras.h" using namespace llvm; -static cl::opt<bool> FastCallAlignStack("x86-fastcc-align-stack", cl::Hidden, - cl::desc("Align stack to 8-byte boundary for fastcall function"), - cl::init(false)); - X86TargetLowering::X86TargetLowering(TargetMachine &TM) : TargetLowering(TM) { Subtarget = &TM.getSubtarget<X86Subtarget>(); @@ -909,7 +904,7 @@ unsigned StackSize = CCInfo.getNextStackOffset(); - if (FastCallAlignStack) { + if (!Subtarget->isTargetCygMing() && !Subtarget->isTargetWindows()) { // Make sure the instruction takes 8n+4 bytes to make sure the start of the // arguments and the arguments after the retaddr has been pushed are aligned. if ((StackSize & 7) == 0) @@ -943,7 +938,7 @@ // Get a count of how many bytes are to be pushed on the stack. unsigned NumBytes = CCInfo.getNextStackOffset(); - if (FastCallAlignStack) { + if (!Subtarget->isTargetCygMing() && !Subtarget->isTargetWindows()) { // Make sure the instruction takes 8n+4 bytes to make sure the start of the // arguments and the arguments after the retaddr has been pushed are aligned. if ((NumBytes & 7) == 0) @@ -951,7 +946,6 @@ } Chain = DAG.getCALLSEQ_START(Chain,DAG.getConstant(NumBytes, getPointerTy())); - SmallVector<std::pair<unsigned, SDOperand>, 8> RegsToPass; SmallVector<SDOperand, 8> MemOpChains; _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits