ir/tests/dead_load_001.irt

19 lines
296 B
Plaintext
Raw Normal View History

--TEST--
001: dead load
--CODE--
{
l_1 = START(l_4);
uintptr_t d_2 = PARAM(l_1, "a", 0);
int32_t d_3, l_3 = LOAD(l_1, d_2);
l_4 = RETURN(l_3);
}
--EXPECT--
{
uintptr_t c_1 = 0;
bool c_2 = 0;
bool c_3 = 1;
l_1 = START(l_3);
uintptr_t d_2 = PARAM(l_1, "a", 0);
l_3 = RETURN(l_1, null);
}