[llvm-commits] [llvm] r41700 - /llvm/trunk/lib/Target/X86/X86Subtarget.h
Evan Cheng
evan.cheng at apple.com
Tue Sep 4 09:44:42 PDT 2007
Author: evancheng
Date: Tue Sep 4 11:44:41 2007
New Revision: 41700
URL: http://llvm.org/viewvc/llvm-project?rev=41700&view=rev
Log:
Mac OS X X86-64 ABI is same as the standard.
Modified:
llvm/trunk/lib/Target/X86/X86Subtarget.h
Modified: llvm/trunk/lib/Target/X86/X86Subtarget.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86Subtarget.h?rev=41700&r1=41699&r2=41700&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86Subtarget.h (original)
+++ llvm/trunk/lib/Target/X86/X86Subtarget.h Tue Sep 4 11:44:41 2007
@@ -145,12 +145,8 @@
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";
More information about the llvm-commits
mailing list