search for: gidx

Displaying 1 result from an estimated 1 matches for "gidx".

Did you mean: _idx
2009 Sep 04
3
[LLVMdev] TOT opt does not terminate!
...int i; }; typedef union _X X; inline short2 as_short2(int x) { X result; result.i = x; return result.s; } inline int as_int(short2 x) { X result; result.s = x; return result.i; } void short2_int_swap( short2* b, int* c) { int gidx = get_id(0); short2 bval = b[gidx]; int cval = c[gidx]; b[gidx] = as_short2(cval); c[gidx] = as_int(bval); } -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090904/cd0940bf/attachment...