ir/tests/debug/sccp_001.irt
2022-05-25 17:38:22 +03:00

20 lines
220 B
Plaintext

--TEST--
SCCP 001
--TARGET--
x86_64
--ARGS--
-S
--CODE--
{
int64_t i_1 = 10;
int64_t i_4 = 4;
l_1 = START(l_2);
int64_t z1 = BSWAP(i_1);
l_2 = RETURN(l_1, z1);
}
--EXPECT--
test:
movq $0xa, %rax
bswapq %rax
retq