Optimize byte-after-shr for shift amounts that are not multiples of 8.

This commit is contained in:
chriseth
2020-08-04 12:16:23 +02:00
parent f079efe28c
commit a3a9630d8b
3 changed files with 11 additions and 7 deletions
@@ -0,0 +1,9 @@
{
sstore(0, byte(0, shr(0x9, calldataload(0))))
}
// ====
// EVMVersion: >=constantinople
// ----
// step: expressionSimplifier
//
// { sstore(0, 0) }