From 29d62bebd91fbd8a79996c3983dcd567c30c112c Mon Sep 17 00:00:00 2001 From: Evan Cheng Date: Tue, 4 Sep 2007 16:44:41 +0000 Subject: [PATCH] Mac OS X X86-64 ABI is same as the standard. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41700 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/X86/X86Subtarget.h | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/lib/Target/X86/X86Subtarget.h b/lib/Target/X86/X86Subtarget.h index 1b76d76c7a2..493c801f8ce 100644 --- a/lib/Target/X86/X86Subtarget.h +++ b/lib/Target/X86/X86Subtarget.h @@ -145,12 +145,8 @@ public: std::string getDataLayout() const { const char *p; - if (is64Bit()) { - if (isTargetDarwin()) - p = "e-p:64:64-f64:32:64-i64:32:64-f80:128:128"; - else - p = "e-p:64:64-f64:64:64-i64:64:64-f80:128:128"; - } + if (is64Bit()) + p = "e-p:64:64-f64:64:64-i64:64:64-f80:128:128"; else { if (isTargetDarwin()) p = "e-p:32:32-f64:32:64-i64:32:64-f80:128:128"; -- 2.34.1