Optimize eq iszero jumpi to xor jumpi and remove double jump.

This commit is contained in:
chriseth
2022-03-10 14:41:41 +01:00
parent 2b201f21a1
commit b3fe042884
101 changed files with 312 additions and 253 deletions
@@ -18,8 +18,8 @@ contract C {
// ----
// constructor() ->
// gas irOptimized: 199723
// gas legacy: 241124
// gas legacyOptimized: 155549
// gas legacy: 240889
// gas legacyOptimized: 155314
// initCode() -> 0x20, 0
// f() -> true
// g() -> 0