[llvm-commits] [llvm] r45495 - /llvm/trunk/test/CodeGen/X86/aligned-comm.ll
Chris Lattner
sabre at nondot.org
Wed Jan 2 11:48:25 PST 2008
Author: lattner
Date: Wed Jan 2 13:48:24 2008
New Revision: 45495
URL: http://llvm.org/viewvc/llvm-project?rev=45495&view=rev
Log:
verify that aligned common support doesn't break.
Added:
llvm/trunk/test/CodeGen/X86/aligned-comm.ll
Added: llvm/trunk/test/CodeGen/X86/aligned-comm.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/aligned-comm.ll?rev=45495&view=auto
==============================================================================
--- llvm/trunk/test/CodeGen/X86/aligned-comm.ll (added)
+++ llvm/trunk/test/CodeGen/X86/aligned-comm.ll Wed Jan 2 13:48:24 2008
@@ -0,0 +1,8 @@
+; RUN: llvm-as < %s | llc -march=x86
+; RUN: llvm-as < %s | llc -mtriple=i386-apple-darwin10 | grep {array,16512,7}
+; RUN: llvm-as < %s | llc -mtriple=i386-apple-darwin9 | grep {array,16512,7}
+; RUN: llvm-as < %s | llc -mtriple=i386-apple-darwin8 | not grep {7}
+
+; Darwin 9+ should get alignment on common symbols. Darwin8 does
+; not support this.
+ at array = weak global [4128 x i32] zeroinitializer, align 128
More information about the llvm-commits
mailing list