mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Optimize eq iszero jumpi to xor jumpi and remove double jump.
This commit is contained in:
@@ -18,9 +18,9 @@ contract C {
|
||||
// compileViaYul: also
|
||||
// ----
|
||||
// constructor(), 20 wei
|
||||
// gas irOptimized: 219285
|
||||
// gas legacy: 294569
|
||||
// gas legacyOptimized: 174699
|
||||
// gas irOptimized: 219069
|
||||
// gas legacy: 294335
|
||||
// gas legacyOptimized: 174279
|
||||
// f(uint256): 20 -> 1370859564726510389319704988634906228201275401179
|
||||
// x() -> 1
|
||||
// f(uint256): 20 -> FAILURE
|
||||
|
||||
Reference in New Issue
Block a user