[cfe-commits] r146907 - /cfe/trunk/test/CodeGen/alignment.c

Chris Lattner sabre at nondot.org
Mon Dec 19 13:11:59 PST 2011


Author: lattner
Date: Mon Dec 19 15:11:59 2011
New Revision: 146907

URL: http://llvm.org/viewvc/llvm-project?rev=146907&view=rev
Log:
filecheckize.

Modified:
    cfe/trunk/test/CodeGen/alignment.c

Modified: cfe/trunk/test/CodeGen/alignment.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/alignment.c?rev=146907&r1=146906&r2=146907&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/alignment.c (original)
+++ cfe/trunk/test/CodeGen/alignment.c Mon Dec 19 15:11:59 2011
@@ -1,4 +1,7 @@
-// RUN: %clang_cc1 -emit-llvm %s -o - | grep "align 16" | count 2
+// RUN: %clang_cc1 -emit-llvm %s -o - | FileCheck %s
 
 __attribute((aligned(16))) float a[128];
-union {int a[4]; __attribute((aligned(16))) float b[4];} u;
+union {int a[4]; __attribute((aligned(16))) float b[4];} b;
+
+// CHECK: @a = {{.*}}zeroinitializer, align 16
+// CHECK: @b = {{.*}}zeroinitializer, align 16





More information about the cfe-commits mailing list