mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Optimize byte-after-shr for shift amounts that are not multiples of 8.
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
{
|
||||
sstore(0, byte(0, shr(0x9, calldataload(0))))
|
||||
}
|
||||
// ====
|
||||
// EVMVersion: >=constantinople
|
||||
// ----
|
||||
// step: expressionSimplifier
|
||||
//
|
||||
// { sstore(0, 0) }
|
||||
Reference in New Issue
Block a user