diff options
author | Evan Cheng <evan.cheng@apple.com> | 2006-06-09 06:24:42 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2006-06-09 06:24:42 +0000 |
commit | b12223e284ff73dfeae5a41da74aa51c2d36cb2f (patch) | |
tree | b63078486038b19fc77dbc875924ea60bb2b6f4b | |
parent | 86c75d31133319a88216c1b1cd26a789e4023000 (diff) | |
download | external_llvm-b12223e284ff73dfeae5a41da74aa51c2d36cb2f.zip external_llvm-b12223e284ff73dfeae5a41da74aa51c2d36cb2f.tar.gz external_llvm-b12223e284ff73dfeae5a41da74aa51c2d36cb2f.tar.bz2 |
Minor compilation speed improvement.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28736 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Target/X86/X86ISelLowering.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/X86/X86ISelLowering.cpp b/lib/Target/X86/X86ISelLowering.cpp index 6f20b9c..3236991 100644 --- a/lib/Target/X86/X86ISelLowering.cpp +++ b/lib/Target/X86/X86ISelLowering.cpp @@ -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(); |