solidity/test/libyul/yulOptimizerTests/expressionSimplifier/idempotency.yul
Daniel Kirchner 10618188dd Update tests.
2021-11-09 14:34:05 +01:00

19 lines
341 B
Plaintext

{
let x := calldataload(0)
let z := calldataload(1)
let t := and(and(x, z), x)
let w := or(or(x, z), x)
sstore(t, w)
}
// ----
// step: expressionSimplifier
//
// {
// {
// let x := calldataload(0)
// let z := calldataload(1)
// let t := and(x, z)
// sstore(t, or(x, z))
// }
// }