[llvm-commits] [llvm] r42338 - /llvm/trunk/test/CFrontend/2007-09-26-Alignment.c
Duncan Sands
baldrick at free.fr
Tue Sep 25 21:04:30 PDT 2007
Author: baldrick
Date: Tue Sep 25 23:04:29 2007
New Revision: 42338
URL: http://llvm.org/viewvc/llvm-project?rev=42338&view=rev
Log:
Test that local variables are aligned as the user requested.
Added:
llvm/trunk/test/CFrontend/2007-09-26-Alignment.c
Added: llvm/trunk/test/CFrontend/2007-09-26-Alignment.c
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CFrontend/2007-09-26-Alignment.c?rev=42338&view=auto
==============================================================================
--- llvm/trunk/test/CFrontend/2007-09-26-Alignment.c (added)
+++ llvm/trunk/test/CFrontend/2007-09-26-Alignment.c Tue Sep 25 23:04:29 2007
@@ -0,0 +1,7 @@
+// RUN: %llvmgcc -S %s -o - | grep {align 16}
+extern p(int *);
+int q(void) {
+ int x __attribute__ ((aligned (16)));
+ p(&x);
+ return x;
+}
More information about the llvm-commits
mailing list