solidity/test/libyul/yulOptimizerTests/ssaAndBack/for_loop.yul

33 lines
543 B
Plaintext
Raw Normal View History

{
let a := mload(0)
let b := mload(1)
for {
}
lt(mload(a),mload(b))
{
a := mload(b)
}
{
b := mload(a)
a := mload(b)
a := mload(b)
a := mload(b)
b := mload(a)
}
}
// ----
// step: ssaAndBack
//
// {
// {
2021-11-09 12:25:25 +00:00
// let a := mload(0)
// let b := mload(1)
// for { } lt(mload(a), mload(b)) { a := mload(b) }
// {
// let b_4 := mload(a)
// a := mload(b_4)
// b := mload(a)
// }
// }
// }