solidity/test/libyul/yulOptimizerTests/expressionSimplifier/mod_and_2.yul

10 lines
216 B
Plaintext
Raw Normal View History

2018-10-11 16:35:13 +00:00
{
mstore(0, mod(calldataload(0), exp(2, 255)))
}
2019-04-01 14:33:46 +00:00
// ====
// step: expressionSimplifier
2018-10-11 16:35:13 +00:00
// ----
// {
// mstore(0, and(calldataload(0), 0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff))
// }