[llvm] r205313 - Attempting to fix r205124, which had failed asserts when built with MSVC.
Aaron Ballman
aaron at aaronballman.com
Tue Apr 1 06:56:35 PDT 2014
Author: aaronballman
Date: Tue Apr 1 08:56:35 2014
New Revision: 205313
URL: http://llvm.org/viewvc/llvm-project?rev=205313&view=rev
Log:
Attempting to fix r205124, which had failed asserts when built with MSVC.
Suggestion from Yaron Keren.
Modified:
llvm/trunk/lib/Target/X86/X86ISelLowering.cpp
Modified: llvm/trunk/lib/Target/X86/X86ISelLowering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86ISelLowering.cpp?rev=205313&r1=205312&r2=205313&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86ISelLowering.cpp (original)
+++ llvm/trunk/lib/Target/X86/X86ISelLowering.cpp Tue Apr 1 08:56:35 2014
@@ -11038,7 +11038,7 @@ SDValue X86TargetLowering::LowerBRCOND(S
SDValue
X86TargetLowering::LowerDYNAMIC_STACKALLOC(SDValue Op,
SelectionDAG &DAG) const {
- assert((Subtarget->isTargetCygMing() || Subtarget->isTargetWindows() ||
+ assert((Subtarget->isOSWindows() ||
getTargetMachine().Options.EnableSegmentedStacks) &&
"This should be used only on Windows targets or when segmented stacks "
"are being used");
More information about the llvm-commits
mailing list