[llvm-commits] [llvm] r167632 - /llvm/trunk/lib/Target/X86/X86Subtarget.cpp
Roman Divacky
rdivacky at freebsd.org
Fri Nov 9 12:10:44 PST 2012
Author: rdivacky
Date: Fri Nov 9 14:10:44 2012
New Revision: 167632
URL: http://llvm.org/viewvc/llvm-project?rev=167632&view=rev
Log:
Switch FreeBSD/i386 back to 4byte stack alignment. This partially
reverts r126226.
Modified:
llvm/trunk/lib/Target/X86/X86Subtarget.cpp
Modified: llvm/trunk/lib/Target/X86/X86Subtarget.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86Subtarget.cpp?rev=167632&r1=167631&r2=167632&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86Subtarget.cpp (original)
+++ llvm/trunk/lib/Target/X86/X86Subtarget.cpp Fri Nov 9 14:10:44 2012
@@ -415,12 +415,12 @@
assert((!In64BitMode || HasX86_64) &&
"64-bit code requested on a subtarget that doesn't support it!");
- // Stack alignment is 16 bytes on Darwin, FreeBSD, Linux and Solaris (both
+ // Stack alignment is 16 bytes on Darwin, Linux and Solaris (both
// 32 and 64 bit) and for all 64-bit targets.
if (StackAlignOverride)
stackAlignment = StackAlignOverride;
- else if (isTargetDarwin() || isTargetFreeBSD() || isTargetLinux() ||
- isTargetSolaris() || In64BitMode)
+ else if (isTargetDarwin() || isTargetLinux() || isTargetSolaris() ||
+ In64BitMode)
stackAlignment = 16;
}
More information about the llvm-commits
mailing list