PPC::B and PPC::BCC's target operand may be an immediate.
[llvm/msp430.git] / test / FrontendC / 2008-08-07-AlignPadding1.c
blob776b1052f13597aa94bcd86e545726e2b2a90c5c
1 /* RUN: %llvmgcc %s -S -o - -emit-llvm -O0 | grep {zeroinitializer.*zeroinitializer.*zeroinitializer.*zeroinitializer.*zeroinitializer.*zeroinitializer}
3 The FE must generate padding here both at the end of each PyG_Head and
4 between array elements. Reduced from Python. */
6 typedef union _gc_head {
7 struct {
8 union _gc_head *gc_next;
9 union _gc_head *gc_prev;
10 long gc_refs;
11 } gc;
12 int dummy __attribute__((aligned(16)));
13 } PyGC_Head;
15 struct gc_generation {
16 PyGC_Head head;
17 int threshold;
18 int count;
21 #define GEN_HEAD(n) (&generations[n].head)
23 /* linked lists of container objects */
24 static struct gc_generation generations[3] = {
25 /* PyGC_Head, threshold, count */
26 {{{GEN_HEAD(0), GEN_HEAD(0), 0}}, 700, 0},
27 {{{GEN_HEAD(1), GEN_HEAD(1), 0}}, 10, 0},
28 {{{GEN_HEAD(2), GEN_HEAD(2), 0}}, 10, 0},