1 // RUN: %llvmgcc -S --emit-llvm %s -o - | not grep "\{ i8, .7 x i8. \}"
2 // RUN: %llvmgcc -O2 -S %s -o - | not grep alloca
31 unsigned int count : 2;
32 unsigned int Aconst : 1;
33 unsigned int Bconst : 1;
34 unsigned int Cconst : 1;
35 unsigned int Xused : 1;
36 unsigned int Yused : 1;
37 unsigned int Zused : 1;
38 unsigned int Wused : 1;
39 unsigned int ttype : 3;
40 unsigned int scalar : 1;
41 unsigned int AType : 4;
42 unsigned int BType : 4;
43 unsigned int CType : 4;
44 unsigned int RType : 4;
45 unsigned int Size : 2;
46 unsigned int prec : 1;
48 unsigned int ASize : 2;
49 unsigned int BSize : 2;
50 unsigned int CSize : 2;
51 unsigned int tTex : 4;
52 unsigned int proj : 1;
54 unsigned int dvts : 1;
55 unsigned int uipad : 18;
61 unsigned long long lkey;
64 static inline __attribute__ ((always_inline)) void foo(const Key iospec, int* ret)
67 if(((iospec.key_io.lod == G_B) &&
68 (iospec.key_io.ttype != G_VS) &&
69 (iospec.key_io.ttype != G_GS) &&
70 (iospec.key_io.ttype != G_FS)) ||
72 (((iospec.key_io.tTex == PP_C) ||
73 (iospec.key_io.tTex == PP_SC)) &&
74 ((iospec.key_io.tTex == PP_SR) ||
75 (iospec.key_io.tTex == PP_S2D) ||
76 (iospec.key_io.tTex == PP_S1D) ||
77 (iospec.key_io.tTex == PP_SC))))
82 extern int bar(unsigned long long key_token2)
85 __attribute__ ((unused)) Key iospec = (Key) key_token2;