solidity/test/libyul/yulOptimizerTests/fullSimplify/inside_for.yul

19 lines
294 B
Plaintext
Raw Normal View History

{
let x := calldataload(3)
for { let a := 10 } iszero(eq(a, sub(x, calldataload(3)))) { a := add(a, 1) } {}
}
2019-04-01 14:33:46 +00:00
// ====
// step: fullSimplify
// ----
// {
// let a := 10
// for {
// }
// iszero(iszero(a))
// {
// a := add(a, 1)
// }
// {
// }
// }