1 // RUN: %llvmgcc -O2 -S %s -o - | not grep alloca
2 // RUN: %llvmgcc -m32 -O2 -S %s -o - | grep store | not grep {align 8}
32 unsigned int count
: 2;
33 unsigned int Aconst
: 1;
34 unsigned int Bconst
: 1;
35 unsigned int Cconst
: 1;
36 unsigned int Xused
: 1;
37 unsigned int Yused
: 1;
38 unsigned int Zused
: 1;
39 unsigned int Wused
: 1;
40 unsigned int ttype
: 3;
41 unsigned int scalar
: 1;
42 unsigned int AType
: 4;
43 unsigned int BType
: 4;
44 unsigned int CType
: 4;
45 unsigned int RType
: 4;
46 unsigned int Size
: 2;
47 unsigned int prec
: 1;
49 unsigned int ASize
: 2;
50 unsigned int BSize
: 2;
51 unsigned int CSize
: 2;
52 unsigned int tTex
: 4;
53 unsigned int proj
: 1;
55 unsigned int dvts
: 1;
56 unsigned int uipad
: 18;
62 unsigned long long lkey
;
65 static void foo(const Key iospec
, int* ret
)
68 if(((iospec
.key_io
.lod
== G_B
) &&
69 (iospec
.key_io
.ttype
!= G_VS
) &&
70 (iospec
.key_io
.ttype
!= G_GS
) &&
71 (iospec
.key_io
.ttype
!= G_FS
)) ||
73 (((iospec
.key_io
.tTex
== PP_C
) ||
74 (iospec
.key_io
.tTex
== PP_SC
)) &&
75 ((iospec
.key_io
.tTex
== PP_SR
) ||
76 (iospec
.key_io
.tTex
== PP_S2D
) ||
77 (iospec
.key_io
.tTex
== PP_S1D
) ||
78 (iospec
.key_io
.tTex
== PP_SC
))))
83 extern int bar(unsigned long long key_token2
)
86 __attribute__ ((unused
)) Key iospec
= (Key
) key_token2
;