[llvm-commits] CVS: llvm/lib/Target/X86/X86Subtarget.cpp
Evan Cheng
evan.cheng at apple.com
Tue Nov 28 18:00:54 PST 2006
Changes in directory llvm/lib/Target/X86:
X86Subtarget.cpp updated: 1.40 -> 1.41
---
Log message:
16-byte stack alignment for X86-64 ELF. Patch by Dan Gohman.
---
Diffs of the changes: (+3 -1)
X86Subtarget.cpp | 4 +++-
1 files changed, 3 insertions(+), 1 deletion(-)
Index: llvm/lib/Target/X86/X86Subtarget.cpp
diff -u llvm/lib/Target/X86/X86Subtarget.cpp:1.40 llvm/lib/Target/X86/X86Subtarget.cpp:1.41
--- llvm/lib/Target/X86/X86Subtarget.cpp:1.40 Mon Nov 20 12:16:05 2006
+++ llvm/lib/Target/X86/X86Subtarget.cpp Tue Nov 28 20:00:40 2006
@@ -255,6 +255,8 @@
}
}
- if (TargetType == isDarwin || TargetType == isCygwin)
+ if (TargetType == isDarwin ||
+ TargetType == isCygwin ||
+ (TargetType == isELF && Is64Bit))
stackAlignment = 16;
}
More information about the llvm-commits
mailing list