mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-24 20:44:51 +00:00
Minor compilation speed improvement.
llvm-svn: 28736
This commit is contained in:
parent
6039769dc1
commit
8f46dba83d
@ -3413,8 +3413,8 @@ X86TargetLowering::LowerFORMAL_ARGUMENTS(SDOperand Op, SelectionDAG &DAG) {
|
||||
MachineFunction &MF = DAG.getMachineFunction();
|
||||
const Function* Fn = MF.getFunction();
|
||||
if (Fn->hasExternalLinkage() &&
|
||||
Fn->getName() == "main" &&
|
||||
Subtarget->TargetType == X86Subtarget::isCygwin)
|
||||
Subtarget->TargetType == X86Subtarget::isCygwin &&
|
||||
Fn->getName() == "main")
|
||||
MF.getInfo<X86FunctionInfo>()->setForceFramePointer(true);
|
||||
|
||||
unsigned CC = cast<ConstantSDNode>(Op.getOperand(1))->getValue();
|
||||
|
Loading…
Reference in New Issue
Block a user