<commit_before>
int2 __fragment_cast_uint_to_int_2(uint2 from)
{
	int2 to;
	to[0] = from[0];
	to[1] = from[1];
	return to;
}

int __constant g_myFour = (int)4;

struct myStruct
{
	float4 pos;
	uint index;
};

struct testStruct_0
{
	uint index;
};

struct myConstants_t
{
	uint g_offset;
};

void myFunc_0(uint x)
{
}

void myFunc_1(float x)
{
	x = 4.0f;
}

void outTest_0(__private float* x)
{
	*x = 4.0f;
}

void outTest_1(float x, __private float* y, float z)
{
	*y = x + z;
}

__attribute__((reqd_work_group_size(8, 8, 1)))
kernel void MyKernel(__constant struct myConstants_t* myConstants, __global uint* g_myInBuffer, __global uint* g_myOutBuffer)
{
	uint3 dtid = (uint3)(get_global_id(0u), get_global_id(1u), get_global_id(2u));
	uint myFunc_1_0;
	uint alias_var = 2u;
	int index = (int)(dtid.x + myConstants->g_offset);
	myFunc_1_0 = g_myInBuffer[index];
	g_myOutBuffer[index] = myFunc_1_0;
	uint testStruct = (uint)0;
	bool cond = true;
	if (cond)
	{
		float4 alias_var_0 = (float4)(1.0f, 2.4f, 0.3f, 3.4f);
		float4 receive = alias_var_0;
		uint testStruct_1 = (uint)1;
		struct testStruct_0 data;
	}
	myFunc_1(4.0f);
	for (uint x = 4u; x < 10u; ++x)
	{
		myFunc_0(x);
		bool p = false;
		myFunc_0((uint)p);
	}
	int y = (int)10;
	while (y > (int)g_myFour)
	{
		y--;
		myFunc_0((uint)y);
	}
	float u = (float)y + 5.4f;
	outTest_0(&u);
	outTest_1(4.5f, &u, u > (float)4 ? 3.4f : u);
	float vals[3];
	vals[(int)0] = 0.0f;
	vals[(int)1] = 1.0f;
	vals[(int)2] = 2.0f;
	float val0 = vals[(int)0] + 1.0f;
	outTest_0(&vals[(int)2]);
	myFunc_0((uint)g_myFour);
	uint2 cast_from;
	int2 cast_t0 = __fragment_cast_uint_to_int_2(cast_from);
}<commit_msg>Remove expectation that fragments start with __fragment<commit_after>
int2 cast_uint_to_int_2(uint2 from)
{
	int2 to;
	to[0] = from[0];
	to[1] = from[1];
	return to;
}

int __constant g_myFour = (int)4;

struct myStruct
{
	float4 pos;
	uint index;
};

struct testStruct_0
{
	uint index;
};

struct myConstants_t
{
	uint g_offset;
};

void myFunc_0(uint x)
{
}

void myFunc_1(float x)
{
	x = 4.0f;
}

void outTest_0(__private float* x)
{
	*x = 4.0f;
}

void outTest_1(float x, __private float* y, float z)
{
	*y = x + z;
}

__attribute__((reqd_work_group_size(8, 8, 1)))
kernel void MyKernel(__constant struct myConstants_t* myConstants, __global uint* g_myInBuffer, __global uint* g_myOutBuffer)
{
	uint3 dtid = (uint3)(get_global_id(0u), get_global_id(1u), get_global_id(2u));
	uint myFunc_1_0;
	uint alias_var = 2u;
	int index = (int)(dtid.x + myConstants->g_offset);
	myFunc_1_0 = g_myInBuffer[index];
	g_myOutBuffer[index] = myFunc_1_0;
	uint testStruct = (uint)0;
	bool cond = true;
	if (cond)
	{
		float4 alias_var_0 = (float4)(1.0f, 2.4f, 0.3f, 3.4f);
		float4 receive = alias_var_0;
		uint testStruct_1 = (uint)1;
		struct testStruct_0 data;
	}
	myFunc_1(4.0f);
	for (uint x = 4u; x < 10u; ++x)
	{
		myFunc_0(x);
		bool p = false;
		myFunc_0((uint)p);
	}
	int y = (int)10;
	while (y > (int)g_myFour)
	{
		y--;
		myFunc_0((uint)y);
	}
	float u = (float)y + 5.4f;
	outTest_0(&u);
	outTest_1(4.5f, &u, u > (float)4 ? 3.4f : u);
	float vals[3];
	vals[(int)0] = 0.0f;
	vals[(int)1] = 1.0f;
	vals[(int)2] = 2.0f;
	float val0 = vals[(int)0] + 1.0f;
	outTest_0(&vals[(int)2]);
	myFunc_0((uint)g_myFour);
	uint2 cast_from;
	int2 cast_t0 = cast_uint_to_int_2(cast_from);
}
{'fraction_non_alphanumeric': 0.1608433734939759, 'fraction_numerical': 0.05542168674698795, 'mean_word_length': 4.365105008077545, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6226735', 'n_tokens_mistral': 1654, 'n_tokens_neox': 1592, 'n_words': 330}