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. [EMAIL PROTECTED] = weak global [4128 x i32] zeroinitializer, align 128 _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits