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

10 lines
211 B
Plaintext
Raw Normal View History

2018-10-11 16:35:13 +00:00
{
mstore(0, mod(calldataload(0), exp(2, 255)))
}
// ----
// step: expressionSimplifier
//
2018-10-11 16:35:13 +00:00
// {
// mstore(0, and(calldataload(0), 0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff))
// }