From 4c3ab58c4766bb48526523b000fa54186c97877e Mon Sep 17 00:00:00 2001 From: Roman Divacky Date: Tue, 22 Feb 2011 17:30:05 +0000 Subject: Stack alignment is 16 bytes on FreeBSD/i386 too. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@126226 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/X86/X86Subtarget.h | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/Target/X86/X86Subtarget.h') diff --git a/lib/Target/X86/X86Subtarget.h b/lib/Target/X86/X86Subtarget.h index a1e47a2015..0a62a02955 100644 --- a/lib/Target/X86/X86Subtarget.h +++ b/lib/Target/X86/X86Subtarget.h @@ -166,6 +166,7 @@ public: bool hasVectorUAMem() const { return HasVectorUAMem; } bool isTargetDarwin() const { return TargetTriple.getOS() == Triple::Darwin; } + bool isTargetFreeBSD() const { return TargetTriple.getOS() == Triple::FreeBSD; } bool isTargetSolaris() const { return TargetTriple.getOS() == Triple::Solaris; } // ELF is a reasonably sane default and the only other X86 targets we -- cgit v1.2.3-18-g5258