Created
February 3, 2021 18:48
-
-
Save hrkrshnn/3c5cd7ef4446d15ac17574d9895d91d4 to your computer and use it in GitHub Desktop.
isoltest --optimize
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Staged changes (154) | |
modified test/libsolidity/semanticTests/abiEncoderV1/abi_decode_v2_storage.sol | |
@@ -25,6 +25,6 @@ contract C { | |
// ---- | |
// f() -> 0x20, 0x8, 0x40, 0x3, 0x9, 0xa, 0xb | |
// gas ir: 199675 | |
-// gas irOptimized: 194189 | |
+// gas irOptimized: 193702 | |
// gas legacy: 196426 | |
-// gas legacyOptimized: 193470 | |
+// gas legacyOptimized: 193450 | |
modified test/libsolidity/semanticTests/abiEncoderV1/abi_encode_calldata_slice.sol | |
@@ -60,12 +60,12 @@ contract C { | |
// compileViaYul: also | |
// ---- | |
// test_bytes() -> | |
-// gas ir: 516922 | |
-// gas irOptimized: 516922 | |
+// gas ir: 511145 | |
+// gas irOptimized: 511133 | |
// gas legacy: 466763 | |
// gas legacyOptimized: 374537 | |
// test_uint256() -> | |
-// gas ir: 712790 | |
-// gas irOptimized: 712790 | |
+// gas ir: 707011 | |
+// gas irOptimized: 706991 | |
// gas legacy: 634592 | |
// gas legacyOptimized: 499481 | |
modified test/libsolidity/semanticTests/abiEncoderV1/struct/struct_storage_ptr.sol | |
@@ -26,7 +26,7 @@ contract C { | |
// ---- | |
// library: L | |
// f() -> 8, 7, 1, 2, 7, 12 | |
-// gas ir: 172153 | |
-// gas irOptimized: 172153 | |
+// gas ir: 165278 | |
+// gas irOptimized: 165266 | |
// gas legacy: 164775 | |
// gas legacyOptimized: 162811 | |
modified test/libsolidity/semanticTests/abiEncoderV2/abi_encode_calldata_slice.sol | |
@@ -61,12 +61,12 @@ contract C { | |
// compileViaYul: also | |
// ---- | |
// test_bytes() -> | |
-// gas ir: 516922 | |
-// gas irOptimized: 516922 | |
+// gas ir: 511145 | |
+// gas irOptimized: 511133 | |
// gas legacy: 466763 | |
// gas legacyOptimized: 374537 | |
// test_uint256() -> | |
-// gas ir: 712790 | |
-// gas irOptimized: 712790 | |
+// gas ir: 707011 | |
+// gas irOptimized: 706991 | |
// gas legacy: 634592 | |
// gas legacyOptimized: 499481 | |
modified test/libsolidity/semanticTests/abiEncoderV2/abi_encode_v2.sol | |
@@ -54,6 +54,6 @@ contract C { | |
// f3() -> 0x20, 0xa0, 0x1, 0x60, 0x2, 0x3, "abc" | |
// f4() -> 0x20, 0x160, 0x1, 0x80, 0xc0, 0x2, 0x3, "abc", 0x7, 0x40, 0x2, 0x2, 0x3 | |
// gas ir: 119803 | |
-// gas irOptimized: 110858 | |
+// gas irOptimized: 110468 | |
// gas legacy: 111328 | |
// gas legacyOptimized: 109206 | |
modified test/libsolidity/semanticTests/abiEncoderV2/abi_encode_v2_in_function_inherited_in_v1_contract.sol | |
@@ -31,6 +31,6 @@ contract C is B { | |
// ---- | |
// test() -> 77 | |
// gas ir: 272505 | |
-// gas irOptimized: 139834 | |
+// gas irOptimized: 142789 | |
// gas legacy: 174610 | |
-// gas legacyOptimized: 131052 | |
+// gas legacyOptimized: 131809 | |
modified test/libsolidity/semanticTests/abiEncoderV2/abi_encode_v2_in_modifier_used_in_v1_contract.sol | |
@@ -39,5 +39,6 @@ contract C is B { | |
// ---- | |
// test() -> 5, 10 | |
// gas ir: 175619 | |
+// gas irOptimized: 101019 | |
// gas legacy: 118477 | |
-// gas legacyOptimized: 103080 | |
+// gas legacyOptimized: 103880 | |
modified test/libsolidity/semanticTests/abiEncoderV2/calldata_array.sol | |
@@ -24,6 +24,6 @@ contract C { | |
// gas ir: 139370 | |
// f(uint256[][1]): 32, 32, 8, 421, 422, 423, 424, 425, 426, 427, 428 -> true | |
// gas ir: 377825 | |
-// gas irOptimized: 227663 | |
+// gas irOptimized: 227292 | |
// gas legacy: 144300 | |
// gas legacyOptimized: 124231 | |
modified test/libsolidity/semanticTests/abiEncoderV2/storage_array_encoding.sol | |
@@ -20,11 +20,11 @@ contract C { | |
// ---- | |
// h(uint256[2][]): 0x20, 3, 123, 124, 223, 224, 323, 324 -> 32, 256, 0x20, 3, 123, 124, 223, 224, 323, 324 | |
// gas ir: 185613 | |
-// gas irOptimized: 172714 | |
+// gas irOptimized: 172553 | |
// gas legacy: 175929 | |
// gas legacyOptimized: 172506 | |
// i(uint256[2][2]): 123, 124, 223, 224 -> 32, 128, 123, 124, 223, 224 | |
// gas ir: 116522 | |
-// gas irOptimized: 107681 | |
+// gas irOptimized: 107492 | |
// gas legacy: 109868 | |
// gas legacyOptimized: 107388 | |
modified test/libsolidity/semanticTests/abiencodedecode/abi_decode_simple_storage.sol | |
@@ -12,6 +12,6 @@ contract C { | |
// ---- | |
// f(bytes): 0x20, 0x80, 0x21, 0x40, 0x7, "abcdefg" -> 0x21, 0x40, 0x7, "abcdefg" | |
// gas ir: 131995 | |
-// gas irOptimized: 130305 | |
+// gas irOptimized: 130208 | |
// gas legacy: 131690 | |
// gas legacyOptimized: 130574 | |
modified test/libsolidity/semanticTests/arithmetics/check_var_init.sol | |
@@ -20,4 +20,4 @@ contract D { | |
// g(), 100 wei -> 1 | |
// gas ir: 165194 | |
// gas legacy: 119754 | |
-// gas legacyOptimized: 111448 | |
+// gas legacyOptimized: 112248 | |
modified test/libsolidity/semanticTests/array/arrays_complex_from_and_to_storage.sol | |
@@ -15,9 +15,9 @@ contract Test { | |
// ---- | |
// set(uint24[3][]): 0x20, 0x06, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0a, 0x0b, 0x0c, 0x0d, 0x0e, 0x0f, 0x10, 0x11, 0x12 -> 0x06 | |
// gas ir: 213897 | |
-// gas irOptimized: 200205 | |
+// gas irOptimized: 199836 | |
// gas legacy: 278685 | |
-// gas legacyOptimized: 273772 | |
+// gas legacyOptimized: 273634 | |
// data(uint256,uint256): 0x02, 0x02 -> 0x09 | |
// data(uint256,uint256): 0x05, 0x01 -> 0x11 | |
// data(uint256,uint256): 0x06, 0x00 -> FAILURE | |
modified test/libsolidity/semanticTests/array/byte_array_storage_layout.sol | |
@@ -48,7 +48,7 @@ contract c { | |
// storage: nonempty | |
// test_long() -> 67 | |
// gas ir: 150411 | |
-// gas irOptimized: 134832 | |
+// gas irOptimized: 134603 | |
// gas legacy: 213590 | |
// gas legacyOptimized: 211044 | |
// storage: nonempty | |
modified test/libsolidity/semanticTests/array/byte_array_transitional_2.sol | |
@@ -20,6 +20,6 @@ contract c { | |
// ---- | |
// test() -> 0 | |
// gas ir: 426596 | |
-// gas irOptimized: 312920 | |
+// gas irOptimized: 312105 | |
// gas legacy: 483915 | |
// gas legacyOptimized: 478541 | |
modified test/libsolidity/semanticTests/array/bytes_length_member.sol | |
@@ -16,7 +16,7 @@ contract c { | |
// getLength() -> 0 | |
// set(): 1, 2 -> true | |
// gas ir: 103792 | |
-// gas irOptimized: 103213 | |
+// gas irOptimized: 103159 | |
// gas legacy: 103126 | |
// gas legacyOptimized: 102998 | |
// getLength() -> 68 | |
modified test/libsolidity/semanticTests/array/constant_var_as_array_length.sol | |
@@ -12,9 +12,9 @@ contract C { | |
// ---- | |
// constructor(): 1, 2, 3 -> | |
// gas ir: 272092 | |
-// gas irOptimized: 139623 | |
+// gas irOptimized: 140431 | |
// gas legacy: 193432 | |
-// gas legacyOptimized: 166096 | |
+// gas legacyOptimized: 166899 | |
// a(uint256): 0 -> 1 | |
// a(uint256): 1 -> 2 | |
// a(uint256): 2 -> 3 | |
modified test/libsolidity/semanticTests/array/copying/array_copy_calldata_storage.sol | |
@@ -23,7 +23,7 @@ contract c { | |
// ---- | |
// store(uint256[9],uint8[3][]): 21, 22, 23, 24, 25, 26, 27, 28, 29, 0x140, 4, 1, 2, 3, 11, 12, 13, 21, 22, 23, 31, 32, 33 -> 32 | |
// gas ir: 644592 | |
-// gas irOptimized: 629040 | |
+// gas irOptimized: 612394 | |
// gas legacy: 817315 | |
// gas legacyOptimized: 816837 | |
// retrieve() -> 9, 28, 9, 28, 4, 3, 32 | |
modified test/libsolidity/semanticTests/array/copying/array_copy_cleanup_uint128.sol | |
@@ -24,6 +24,6 @@ contract C { | |
// ---- | |
// f() -> true | |
// gas ir: 118439 | |
-// gas irOptimized: 112029 | |
+// gas irOptimized: 107841 | |
// gas legacy: 107335 | |
// gas legacyOptimized: 105890 | |
modified test/libsolidity/semanticTests/array/copying/array_copy_cleanup_uint40.sol | |
@@ -48,7 +48,7 @@ contract C { | |
// compileViaYul: also | |
// ---- | |
// f() -> true | |
-// gas ir: 253583 | |
-// gas irOptimized: 253583 | |
+// gas ir: 233887 | |
+// gas irOptimized: 233826 | |
// gas legacy: 239061 | |
// gas legacyOptimized: 236021 | |
modified test/libsolidity/semanticTests/array/copying/array_copy_clear_storage.sol | |
@@ -16,6 +16,6 @@ contract C { | |
// ---- | |
// f() -> 0 | |
// gas ir: 156549 | |
-// gas irOptimized: 150551 | |
+// gas irOptimized: 139632 | |
// gas legacy: 138913 | |
// gas legacyOptimized: 137481 | |
modified test/libsolidity/semanticTests/array/copying/array_copy_clear_storage_packed.sol | |
@@ -43,12 +43,12 @@ contract C { | |
// ---- | |
// f() -> 0 | |
// gas ir: 118232 | |
-// gas irOptimized: 112032 | |
+// gas irOptimized: 107803 | |
// gas legacy: 107306 | |
// gas legacyOptimized: 105896 | |
// g() -> 0 | |
// h() -> 0 | |
// gas ir: 118254 | |
-// gas irOptimized: 112057 | |
+// gas irOptimized: 107825 | |
// gas legacy: 107328 | |
// gas legacyOptimized: 105927 | |
modified test/libsolidity/semanticTests/array/copying/array_copy_different_packing.sol | |
@@ -22,6 +22,6 @@ contract c { | |
// ---- | |
// test() -> 0x01000000000000000000000000000000000000000000000000, 0x02000000000000000000000000000000000000000000000000, 0x03000000000000000000000000000000000000000000000000, 0x04000000000000000000000000000000000000000000000000, 0x05000000000000000000000000000000000000000000000000 | |
// gas ir: 266560 | |
-// gas irOptimized: 247582 | |
+// gas irOptimized: 246974 | |
// gas legacy: 276683 | |
// gas legacyOptimized: 275570 | |
modified test/libsolidity/semanticTests/array/copying/array_copy_including_array.sol | |
@@ -37,14 +37,14 @@ contract c { | |
// compileViaYul: also | |
// ---- | |
// test() -> 0x02000202 | |
-// gas ir: 2481131 | |
-// gas irOptimized: 2481131 | |
+// gas ir: 2480213 | |
+// gas irOptimized: 2477865 | |
// gas legacy: 2288641 | |
// gas legacyOptimized: 2280949 | |
// storage: empty | |
// clear() -> 0, 0 | |
-// gas ir: 1856788 | |
-// gas irOptimized: 1856788 | |
+// gas ir: 1856146 | |
+// gas irOptimized: 1854274 | |
// gas legacy: 1727169 | |
// gas legacyOptimized: 1721217 | |
// storage: empty | |
modified test/libsolidity/semanticTests/array/copying/array_copy_nested_array.sol | |
@@ -15,7 +15,7 @@ contract c { | |
// compileViaYul: also | |
// ---- | |
// test(uint256[2][]): 32, 3, 7, 8, 9, 10, 11, 12 -> 10 | |
-// gas ir: 611500 | |
-// gas irOptimized: 611500 | |
+// gas ir: 610633 | |
+// gas irOptimized: 610633 | |
// gas legacy: 604268 | |
// gas legacyOptimized: 603723 | |
modified test/libsolidity/semanticTests/array/copying/array_copy_storage_storage_different_base.sol | |
@@ -20,6 +20,6 @@ contract c { | |
// ---- | |
// test() -> 5, 4 | |
// gas ir: 241906 | |
-// gas irOptimized: 235646 | |
+// gas irOptimized: 235246 | |
// gas legacy: 237001 | |
// gas legacyOptimized: 235343 | |
modified test/libsolidity/semanticTests/array/copying/array_copy_storage_storage_different_base_nested.sol | |
@@ -23,7 +23,7 @@ contract c { | |
// compileViaYul: also | |
// ---- | |
// test() -> 3, 4 | |
-// gas ir: 195485 | |
-// gas irOptimized: 195485 | |
+// gas ir: 193051 | |
+// gas irOptimized: 191203 | |
// gas legacy: 208853 | |
// gas legacyOptimized: 200492 | |
modified test/libsolidity/semanticTests/array/copying/array_copy_storage_storage_dynamic_dynamic.sol | |
@@ -21,6 +21,6 @@ contract c { | |
// ---- | |
// test() -> 5, 4 | |
// gas ir: 281844 | |
-// gas irOptimized: 276875 | |
+// gas irOptimized: 274628 | |
// gas legacy: 264734 | |
// gas legacyOptimized: 263187 | |
modified test/libsolidity/semanticTests/array/copying/array_copy_storage_storage_static_dynamic.sol | |
@@ -15,4 +15,4 @@ contract c { | |
// ---- | |
// test() -> 9, 4 | |
// gas ir: 103423 | |
-// gas irOptimized: 100285 | |
+// gas irOptimized: 99282 | |
modified test/libsolidity/semanticTests/array/copying/array_copy_storage_storage_static_static.sol | |
@@ -14,11 +14,11 @@ contract c { | |
} | |
// ==== | |
-// compileViaYul: also | |
// compileToEwasm: also | |
+// compileViaYul: also | |
// ---- | |
// test() -> 8, 0 | |
-// gas ir: 158932 | |
-// gas irOptimized: 158935 | |
+// gas ir: 155083 | |
+// gas irOptimized: 154941 | |
// gas legacy: 153995 | |
// gas legacyOptimized: 153430 | |
modified test/libsolidity/semanticTests/array/copying/array_copy_storage_storage_struct.sol | |
@@ -20,7 +20,7 @@ contract c { | |
// ---- | |
// test() -> 4, 5 | |
// gas ir: 356278 | |
-// gas irOptimized: 282888 | |
+// gas irOptimized: 259327 | |
// gas legacy: 255936 | |
// gas legacyOptimized: 254386 | |
// storage: empty | |
modified test/libsolidity/semanticTests/array/copying/array_copy_storage_to_memory_nested.sol | |
@@ -18,6 +18,6 @@ contract C { | |
// ---- | |
// f() -> 0x20, 2, 0x40, 0xa0, 2, 0, 1, 2, 2, 3 | |
// gas ir: 177925 | |
-// gas irOptimized: 170704 | |
+// gas irOptimized: 168781 | |
// gas legacy: 163978 | |
// gas legacyOptimized: 158152 | |
modified test/libsolidity/semanticTests/array/copying/array_copy_target_leftover.sol | |
@@ -20,6 +20,6 @@ contract c { | |
// ---- | |
// test() -> 0xffffffff, 0x0000000000000000000000000a00090008000700060005000400030002000100, 0x0000000000000000000000000000000000000000000000000000000000000000 | |
// gas ir: 296209 | |
-// gas irOptimized: 223456 | |
+// gas irOptimized: 219239 | |
// gas legacy: 328106 | |
-// gas legacyOptimized: 308108 | |
+// gas legacyOptimized: 307862 | |
modified test/libsolidity/semanticTests/array/copying/array_copy_target_leftover2.sol | |
@@ -21,7 +21,7 @@ contract c { | |
// compileViaYul: also | |
// ---- | |
// test() -> 0x04000000000000000000000000000000000000000000000000, 0x0, 0x0 | |
-// gas ir: 109240 | |
-// gas irOptimized: 109240 | |
+// gas ir: 108010 | |
+// gas irOptimized: 107831 | |
// gas legacy: 116651 | |
// gas legacyOptimized: 107926 | |
modified test/libsolidity/semanticTests/array/copying/array_copy_target_simple.sol | |
@@ -21,7 +21,7 @@ contract c { | |
// compileViaYul: also | |
// ---- | |
// test() -> 0x01000000000000000000000000000000000000000000000000, 0x02000000000000000000000000000000000000000000000000, 0x03000000000000000000000000000000000000000000000000, 0x04000000000000000000000000000000000000000000000000, 0x0 | |
-// gas ir: 290259 | |
-// gas irOptimized: 290262 | |
+// gas ir: 289159 | |
+// gas irOptimized: 289035 | |
// gas legacy: 309353 | |
// gas legacyOptimized: 307735 | |
modified test/libsolidity/semanticTests/array/copying/array_copy_target_simple_2.sol | |
@@ -21,7 +21,7 @@ contract c { | |
// compileViaYul: also | |
// ---- | |
// test() -> 0x01000000000000000000000000000000000000000000000000, 0x02000000000000000000000000000000000000000000000000, 0x03000000000000000000000000000000000000000000000000, 0x04000000000000000000000000000000000000000000000000, 0x00 | |
-// gas ir: 269633 | |
-// gas irOptimized: 269636 | |
+// gas ir: 264350 | |
+// gas irOptimized: 264018 | |
// gas legacy: 269681 | |
// gas legacyOptimized: 268795 | |
modified test/libsolidity/semanticTests/array/copying/array_nested_calldata_to_storage.sol | |
@@ -38,14 +38,14 @@ contract c { | |
// compileViaYul: true | |
// ---- | |
// test1(uint256[][]): 0x20, 2, 0x40, 0x40, 2, 23, 42 -> 2, 65 | |
-// gas ir: 179776 | |
-// gas irOptimized: 179776 | |
+// gas ir: 179485 | |
+// gas irOptimized: 179365 | |
// test2(uint256[][2]): 0x20, 0x40, 0x40, 2, 23, 42 -> 2, 65 | |
-// gas ir: 155253 | |
-// gas irOptimized: 155253 | |
+// gas ir: 154851 | |
+// gas irOptimized: 154113 | |
// test3(uint256[2][]): 0x20, 2, 23, 42, 23, 42 -> 2, 65 | |
-// gas ir: 133521 | |
-// gas irOptimized: 133521 | |
+// gas ir: 133184 | |
+// gas irOptimized: 132772 | |
// test4(uint256[2][2]): 23, 42, 23, 42 -> 65 | |
-// gas ir: 107882 | |
-// gas irOptimized: 107882 | |
+// gas ir: 107354 | |
+// gas irOptimized: 105502 | |
modified test/libsolidity/semanticTests/array/copying/array_nested_memory_to_storage.sol | |
@@ -40,14 +40,14 @@ contract Test { | |
// compileViaYul: also | |
// ---- | |
// test() -> 24 | |
-// gas ir: 217774 | |
-// gas irOptimized: 217774 | |
+// gas ir: 216716 | |
+// gas irOptimized: 216560 | |
// gas legacy: 215533 | |
// gas legacyOptimized: 214980 | |
// test1() -> 3 | |
// test2() -> 6 | |
// test3() -> 24 | |
-// gas ir: 124684 | |
-// gas irOptimized: 124684 | |
+// gas ir: 123544 | |
+// gas irOptimized: 123073 | |
// gas legacy: 122795 | |
// gas legacyOptimized: 121916 | |
modified test/libsolidity/semanticTests/array/copying/array_of_struct_calldata_to_storage.sol | |
@@ -18,4 +18,4 @@ contract C { | |
// ---- | |
// f((uint128,uint64,uint128)[]): 0x20, 3, 0, 0, 12, 0, 11, 0, 10, 0, 0 -> 10, 11, 12 | |
// gas ir: 128334 | |
-// gas irOptimized: 123327 | |
+// gas irOptimized: 123100 | |
modified test/libsolidity/semanticTests/array/copying/array_of_struct_memory_to_storage.sol | |
@@ -20,4 +20,4 @@ contract C { | |
// ---- | |
// f() -> 10, 11, 12 | |
// gas ir: 129917 | |
-// gas irOptimized: 122695 | |
+// gas irOptimized: 122096 | |
modified test/libsolidity/semanticTests/array/copying/array_of_structs_containing_arrays_calldata_to_storage.sol | |
@@ -23,5 +23,5 @@ contract C { | |
// compileViaYul: true | |
// ---- | |
// f((uint256[])[]): 0x20, 3, 0x60, 0x60, 0x60, 0x20, 3, 1, 2, 3 -> 3, 1 | |
-// gas ir: 354585 | |
-// gas irOptimized: 354585 | |
+// gas ir: 354123 | |
+// gas irOptimized: 354111 | |
modified test/libsolidity/semanticTests/array/copying/array_of_structs_containing_arrays_memory_to_storage.sol | |
@@ -26,5 +26,5 @@ contract C { | |
// compileViaYul: true | |
// ---- | |
// f() -> 3, 3, 3, 1 | |
-// gas ir: 189829 | |
-// gas irOptimized: 189829 | |
+// gas ir: 187826 | |
+// gas irOptimized: 187717 | |
modified test/libsolidity/semanticTests/array/copying/array_storage_multi_items_per_slot.sol | |
@@ -15,7 +15,7 @@ contract C { | |
// compileViaYul: also | |
// ---- | |
// f() -> 1, 2, 3 | |
-// gas ir: 135092 | |
-// gas irOptimized: 135092 | |
+// gas ir: 133843 | |
+// gas irOptimized: 133593 | |
// gas legacy: 134419 | |
// gas legacyOptimized: 125644 | |
modified test/libsolidity/semanticTests/array/copying/arrays_from_and_to_storage.sol | |
@@ -13,7 +13,7 @@ contract Test { | |
// ---- | |
// set(uint24[]): 0x20, 18, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18 -> 18 | |
// gas ir: 130127 | |
-// gas irOptimized: 121147 | |
+// gas irOptimized: 121048 | |
// gas legacy: 125815 | |
// gas legacyOptimized: 123638 | |
// data(uint256): 7 -> 8 | |
modified test/libsolidity/semanticTests/array/copying/bytes_inside_mappings.sol | |
@@ -8,12 +8,12 @@ contract c { | |
// ---- | |
// set(uint256): 1, 2 -> true | |
// gas ir: 104197 | |
-// gas irOptimized: 103365 | |
+// gas irOptimized: 103317 | |
// gas legacy: 103491 | |
// gas legacyOptimized: 103168 | |
// set(uint256): 2, 2, 3, 4, 5 -> true | |
// gas ir: 164902 | |
-// gas irOptimized: 164052 | |
+// gas irOptimized: 164004 | |
// gas legacy: 164121 | |
// gas legacyOptimized: 163798 | |
// storage: nonempty | |
modified test/libsolidity/semanticTests/array/copying/bytes_storage_to_storage.sol | |
@@ -20,22 +20,22 @@ contract c { | |
// f(uint256): 0 -> 0x20, 0x00 | |
// f(uint256): 31 -> 0x20, 0x1f, 0x0102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e00 | |
// gas ir: 273221 | |
-// gas irOptimized: 222684 | |
+// gas irOptimized: 222054 | |
// gas legacy: 255464 | |
// gas legacyOptimized: 250931 | |
// f(uint256): 32 -> 0x20, 0x20, 1780731860627700044960722568376592200742329637303199754547598369979440671 | |
// gas ir: 288621 | |
-// gas irOptimized: 233443 | |
+// gas irOptimized: 232774 | |
// gas legacy: 267931 | |
// gas legacyOptimized: 263260 | |
// f(uint256): 33 -> 0x20, 33, 1780731860627700044960722568376592200742329637303199754547598369979440671, 0x2000000000000000000000000000000000000000000000000000000000000000 | |
// gas ir: 299286 | |
-// gas irOptimized: 242278 | |
+// gas irOptimized: 241593 | |
// gas legacy: 277538 | |
// gas legacyOptimized: 272747 | |
// f(uint256): 63 -> 0x20, 0x3f, 1780731860627700044960722568376592200742329637303199754547598369979440671, 14532552714582660066924456880521368950258152170031413196862950297402215316992 | |
// gas ir: 463176 | |
-// gas irOptimized: 356428 | |
+// gas irOptimized: 355263 | |
// gas legacy: 423428 | |
// gas legacyOptimized: 414737 | |
// f(uint256): 12 -> 0x20, 0x0c, 0x0102030405060708090a0b0000000000000000000000000000000000000000 | |
@@ -44,6 +44,6 @@ contract c { | |
// gas legacyOptimized: 104350 | |
// f(uint256): 129 -> 0x20, 0x81, 1780731860627700044960722568376592200742329637303199754547598369979440671, 0x202122232425262728292a2b2c2d2e2f303132333435363738393a3b3c3d3e3f, 29063324697304692433803953038474361308315562010425523193971352996434451193439, 0x606162636465666768696a6b6c6d6e6f707172737475767778797a7b7c7d7e7f, -57896044618658097711785492504343953926634992332820282019728792003956564819968 | |
// gas ir: 1033845 | |
-// gas irOptimized: 817738 | |
+// gas irOptimized: 815502 | |
// gas legacy: 954517 | |
// gas legacyOptimized: 937258 | |
modified test/libsolidity/semanticTests/array/copying/calldata_array_dynamic_to_storage.sol | |
@@ -12,6 +12,6 @@ contract C { | |
// ---- | |
// f(uint256[]): 0x20, 0x03, 0x1, 0x2, 0x3 -> 0x1 | |
// gas ir: 110398 | |
-// gas irOptimized: 108100 | |
+// gas irOptimized: 105324 | |
// gas legacy: 105365 | |
// gas legacyOptimized: 105182 | |
modified test/libsolidity/semanticTests/array/copying/copy_byte_array_in_struct_to_storage.sol | |
@@ -38,7 +38,7 @@ contract C { | |
// ---- | |
// f() -> 0x40, 0x80, 6, 0x6162636465660000000000000000000000000000000000000000000000000000, 0x49, 0x3132333435363738393031323334353637383930313233343536373839303120, 0x3132333435363738393031323334353637383930313233343536373839303120, 0x3132333435363738390000000000000000000000000000000000000000000000 | |
// gas ir: 176549 | |
-// gas irOptimized: 172892 | |
+// gas irOptimized: 172483 | |
// gas legacy: 174794 | |
// gas legacyOptimized: 174212 | |
// g() -> 0x40, 0xc0, 0x49, 0x3132333435363738393031323334353637383930313233343536373839303120, 0x3132333435363738393031323334353637383930313233343536373839303120, 0x3132333435363738390000000000000000000000000000000000000000000000, 0x11, 0x3132333435363738393233343536373839000000000000000000000000000000 | |
modified test/libsolidity/semanticTests/array/copying/copy_byte_array_to_storage.sol | |
@@ -48,7 +48,7 @@ contract C { | |
// compileViaYul: also | |
// ---- | |
// f() -> 0xff | |
-// gas ir: 137535 | |
-// gas irOptimized: 137428 | |
+// gas ir: 136475 | |
+// gas irOptimized: 136368 | |
// gas legacy: 137645 | |
// gas legacyOptimized: 135260 | |
modified test/libsolidity/semanticTests/array/copying/copy_function_storage_array.sol | |
@@ -19,6 +19,6 @@ contract C { | |
// ---- | |
// test() -> 7 | |
// gas ir: 143547 | |
-// gas irOptimized: 134482 | |
+// gas irOptimized: 134050 | |
// gas legacy: 211296 | |
// gas legacyOptimized: 211120 | |
modified test/libsolidity/semanticTests/array/copying/copy_removes_bytes_data.sol | |
@@ -10,7 +10,7 @@ contract c { | |
// ---- | |
// set(): 1, 2, 3, 4, 5 -> true | |
// gas ir: 164497 | |
-// gas irOptimized: 163861 | |
+// gas irOptimized: 163796 | |
// gas legacy: 163756 | |
// gas legacyOptimized: 163628 | |
// storage: nonempty | |
modified test/libsolidity/semanticTests/array/copying/memory_dyn_2d_bytes_to_storage.sol | |
@@ -20,7 +20,7 @@ contract C { | |
// compileViaYul: also | |
// ---- | |
// f() -> 3 | |
-// gas ir: 175439 | |
-// gas irOptimized: 175292 | |
+// gas ir: 174547 | |
+// gas irOptimized: 174360 | |
// gas legacy: 179707 | |
// gas legacyOptimized: 178767 | |
modified test/libsolidity/semanticTests/array/copying/storage_memory_nested.sol | |
@@ -19,7 +19,7 @@ contract C { | |
// compileViaYul: also | |
// ---- | |
// f() -> 1, 2, 3, 4, 5, 6, 7 | |
-// gas ir: 218149 | |
-// gas irOptimized: 218149 | |
+// gas ir: 213312 | |
+// gas irOptimized: 212708 | |
// gas legacy: 223725 | |
// gas legacyOptimized: 222928 | |
modified test/libsolidity/semanticTests/array/copying/storage_memory_nested_bytes.sol | |
@@ -14,6 +14,6 @@ contract C { | |
// ---- | |
// f() -> 0x20, 0x02, 0x40, 0x80, 3, 0x6162630000000000000000000000000000000000000000000000000000000000, 0x99, 44048183304486788312148433451363384677562265908331949128489393215789685032262, 32241931068525137014058842823026578386641954854143559838526554899205067598957, 49951309422467613961193228765530489307475214998374779756599339590522149884499, 0x54555658595a6162636465666768696a6b6c6d6e6f707172737475767778797a, 0x4142434445464748494a4b4c4d4e4f5051525354555658595a00000000000000 | |
// gas ir: 201968 | |
-// gas irOptimized: 198780 | |
+// gas irOptimized: 198465 | |
// gas legacy: 199159 | |
// gas legacyOptimized: 198128 | |
modified test/libsolidity/semanticTests/array/copying/storage_memory_nested_from_pointer.sol | |
@@ -20,7 +20,7 @@ contract C { | |
// compileViaYul: also | |
// ---- | |
// f() -> 1, 2, 3, 4, 5, 6, 7 | |
-// gas ir: 218149 | |
-// gas irOptimized: 218149 | |
+// gas ir: 213312 | |
+// gas irOptimized: 212708 | |
// gas legacy: 223730 | |
// gas legacyOptimized: 222933 | |
modified test/libsolidity/semanticTests/array/copying/storage_memory_nested_struct.sol | |
@@ -26,7 +26,7 @@ contract C { | |
// compileViaYul: also | |
// ---- | |
// f() -> 11, 0x0c, 1, 0x15, 22, 4 | |
-// gas ir: 292630 | |
-// gas irOptimized: 292660 | |
+// gas ir: 289545 | |
+// gas irOptimized: 289380 | |
// gas legacy: 296916 | |
// gas legacyOptimized: 283211 | |
modified test/libsolidity/semanticTests/array/copying/storage_memory_packed_dyn.sol | |
@@ -15,7 +15,7 @@ contract C { | |
// compileViaYul: also | |
// ---- | |
// f() -> 2, 3, 4 | |
-// gas ir: 240441 | |
-// gas irOptimized: 240441 | |
+// gas ir: 210056 | |
+// gas irOptimized: 210005 | |
// gas legacy: 241549 | |
// gas legacyOptimized: 236038 | |
modified test/libsolidity/semanticTests/array/create_memory_array.sol | |
@@ -20,7 +20,7 @@ contract C { | |
// compileViaYul: also | |
// ---- | |
// f() -> "A", 8, 4, "B" | |
-// gas ir: 170583 | |
-// gas irOptimized: 170583 | |
+// gas ir: 151068 | |
+// gas irOptimized: 151068 | |
// gas legacy: 121398 | |
// gas legacyOptimized: 115536 | |
modified test/libsolidity/semanticTests/array/delete/bytes_delete_element.sol | |
@@ -19,6 +19,6 @@ contract c { | |
// ---- | |
// test1() -> true | |
// gas ir: 626335 | |
-// gas irOptimized: 534222 | |
+// gas irOptimized: 532622 | |
// gas legacy: 613377 | |
// gas legacyOptimized: 606235 | |
modified test/libsolidity/semanticTests/array/delete/delete_storage_array_packed.sol | |
@@ -17,4 +17,4 @@ contract C { | |
// ---- | |
// f() -> 0, 0, 0 | |
// gas ir: 107749 | |
-// gas irOptimized: 101935 | |
+// gas irOptimized: 101664 | |
modified test/libsolidity/semanticTests/array/dynamic_array_cleanup.sol | |
@@ -17,7 +17,7 @@ contract c { | |
// storage: empty | |
// fill() -> | |
// gas ir: 556824 | |
-// gas irOptimized: 536238 | |
+// gas irOptimized: 536022 | |
// gas legacy: 504373 | |
// gas legacyOptimized: 499648 | |
// storage: nonempty | |
modified test/libsolidity/semanticTests/array/dynamic_arrays_in_storage.sol | |
@@ -45,7 +45,7 @@ contract c { | |
// getLengths() -> 0, 0 | |
// setLengths(uint256,uint256): 48, 49 -> | |
// gas ir: 431473 | |
-// gas irOptimized: 276446 | |
+// gas irOptimized: 276002 | |
// gas legacy: 308271 | |
// gas legacyOptimized: 300117 | |
// getLengths() -> 48, 49 | |
modified test/libsolidity/semanticTests/array/dynamic_multi_array_cleanup.sol | |
@@ -19,7 +19,7 @@ contract c { | |
// storage: empty | |
// fill() -> 8 | |
// gas ir: 190382 | |
-// gas irOptimized: 181164 | |
+// gas irOptimized: 170162 | |
// gas legacy: 165456 | |
// gas legacyOptimized: 164420 | |
// storage: nonempty | |
modified test/libsolidity/semanticTests/array/fixed_array_cleanup.sol | |
@@ -14,7 +14,7 @@ contract c { | |
// storage: empty | |
// fill() -> | |
// gas ir: 462405 | |
-// gas irOptimized: 423997 | |
+// gas irOptimized: 423949 | |
// gas legacy: 429460 | |
// gas legacyOptimized: 425520 | |
// storage: nonempty | |
modified test/libsolidity/semanticTests/array/fixed_arrays_as_return_type.sol | |
@@ -22,6 +22,6 @@ contract B { | |
// ---- | |
// f() -> 2, 3, 4, 5, 6, 1000, 1001, 1002, 1003, 1004 | |
// gas ir: 307946 | |
-// gas irOptimized: 179491 | |
+// gas irOptimized: 152350 | |
// gas legacy: 282447 | |
-// gas legacyOptimized: 153022 | |
+// gas legacyOptimized: 153822 | |
modified test/libsolidity/semanticTests/array/fixed_arrays_in_constructors.sol | |
@@ -12,8 +12,8 @@ contract Creator { | |
// ---- | |
// constructor(): 1, 2, 3, 4 -> | |
// gas ir: 261320 | |
-// gas irOptimized: 167868 | |
+// gas irOptimized: 164392 | |
// gas legacy: 190998 | |
-// gas legacyOptimized: 149820 | |
+// gas legacyOptimized: 150620 | |
// r() -> 4 | |
// ch() -> 3 | |
modified test/libsolidity/semanticTests/array/function_array_cross_calls.sol | |
@@ -45,7 +45,7 @@ contract C { | |
// compileViaYul: also | |
// ---- | |
// test() -> 5, 6, 7 | |
-// gas ir: 360054 | |
-// gas irOptimized: 360048 | |
+// gas ir: 364769 | |
+// gas irOptimized: 354537 | |
// gas legacy: 518237 | |
-// gas legacyOptimized: 325929 | |
+// gas legacyOptimized: 326729 | |
modified test/libsolidity/semanticTests/array/pop/array_pop_array_transition.sol | |
@@ -25,8 +25,8 @@ contract c { | |
// compileViaYul: also | |
// ---- | |
// test() -> 1, 2, 3 | |
-// gas ir: 2556862 | |
-// gas irOptimized: 2556862 | |
+// gas ir: 2462347 | |
+// gas irOptimized: 2462308 | |
// gas legacy: 2416722 | |
// gas legacyOptimized: 2405432 | |
// storage: empty | |
modified test/libsolidity/semanticTests/array/pop/array_pop_uint16_transition.sol | |
@@ -21,7 +21,7 @@ contract c { | |
// ---- | |
// test() -> 38, 28, 18 | |
// gas ir: 608955 | |
-// gas irOptimized: 539280 | |
+// gas irOptimized: 532388 | |
// gas legacy: 454080 | |
// gas legacyOptimized: 443206 | |
// storage: empty | |
modified test/libsolidity/semanticTests/array/pop/array_pop_uint24_transition.sol | |
@@ -21,7 +21,7 @@ contract c { | |
// ---- | |
// test() -> 20, 10 | |
// gas ir: 418180 | |
-// gas irOptimized: 374378 | |
+// gas irOptimized: 370044 | |
// gas legacy: 320859 | |
// gas legacyOptimized: 314711 | |
// storage: empty | |
modified test/libsolidity/semanticTests/array/pop/byte_array_pop_copy_long.sol | |
@@ -13,6 +13,6 @@ contract c { | |
// ---- | |
// test() -> 0x20, 29, 0x0303030303030303030303030303030303030303030303030303030303000000 | |
// gas ir: 183913 | |
-// gas irOptimized: 163882 | |
+// gas irOptimized: 163646 | |
// gas legacy: 245809 | |
// gas legacyOptimized: 242597 | |
modified test/libsolidity/semanticTests/array/pop/byte_array_pop_long_storage_empty.sol | |
@@ -19,7 +19,7 @@ contract c { | |
// ---- | |
// test() -> true | |
// gas ir: 550388 | |
-// gas irOptimized: 461007 | |
+// gas irOptimized: 456483 | |
// gas legacy: 552064 | |
// gas legacyOptimized: 533033 | |
// storage: empty | |
modified test/libsolidity/semanticTests/array/pop/byte_array_pop_long_storage_empty_garbage_ref.sol | |
@@ -18,7 +18,7 @@ contract c { | |
// ---- | |
// test() -> | |
// gas ir: 343460 | |
-// gas irOptimized: 302445 | |
+// gas irOptimized: 301428 | |
// gas legacy: 372763 | |
// gas legacyOptimized: 366764 | |
// storage: empty | |
modified test/libsolidity/semanticTests/array/pop/byte_array_pop_masking_long.sol | |
@@ -13,6 +13,6 @@ contract c { | |
// ---- | |
// test() -> 0x20, 33, 0x303030303030303030303030303030303030303030303030303030303030303, 0x0300000000000000000000000000000000000000000000000000000000000000 | |
// gas ir: 181961 | |
-// gas irOptimized: 161233 | |
+// gas irOptimized: 160972 | |
// gas legacy: 243287 | |
// gas legacyOptimized: 240324 | |
modified test/libsolidity/semanticTests/array/push/array_push.sol | |
@@ -19,6 +19,6 @@ contract c { | |
// ---- | |
// test() -> 5, 4, 3, 3 | |
// gas ir: 120470 | |
-// gas irOptimized: 117306 | |
+// gas irOptimized: 117155 | |
// gas legacy: 111938 | |
// gas legacyOptimized: 110567 | |
modified test/libsolidity/semanticTests/array/push/array_push_nested_from_calldata.sol | |
@@ -15,6 +15,6 @@ contract C { | |
// ---- | |
// f(uint120[]): 0x20, 3, 1, 2, 3 -> 1 | |
// gas ir: 119655 | |
-// gas irOptimized: 116603 | |
+// gas irOptimized: 116424 | |
// gas legacy: 116886 | |
// gas legacyOptimized: 116737 | |
modified test/libsolidity/semanticTests/array/push/array_push_packed_array.sol | |
@@ -17,6 +17,6 @@ contract c { | |
// ---- | |
// test() -> 1, 2, 3, 4 | |
// gas ir: 117283 | |
-// gas irOptimized: 112771 | |
+// gas irOptimized: 112151 | |
// gas legacy: 107098 | |
// gas legacyOptimized: 106398 | |
modified test/libsolidity/semanticTests/array/push/array_push_struct.sol | |
@@ -22,7 +22,7 @@ contract c { | |
// compileViaYul: also | |
// ---- | |
// test() -> 2, 3, 4, 5 | |
-// gas ir: 147400 | |
-// gas irOptimized: 147400 | |
+// gas ir: 146531 | |
+// gas irOptimized: 146431 | |
// gas legacy: 190684 | |
// gas legacyOptimized: 188307 | |
modified test/libsolidity/semanticTests/array/push/array_push_struct_from_calldata.sol | |
@@ -18,7 +18,7 @@ contract c { | |
// compileViaYul: also | |
// ---- | |
// test((uint16,uint16,uint16[3],uint16[])): 0x20, 2, 3, 0, 0, 4, 0xC0, 4, 0, 0, 5, 0, 0 -> 2, 3, 4, 5 | |
-// gas ir: 148658 | |
-// gas irOptimized: 148658 | |
+// gas ir: 148365 | |
+// gas irOptimized: 148265 | |
// gas legacy: 152444 | |
// gas legacyOptimized: 146921 | |
modified test/libsolidity/semanticTests/array/push/byte_array_push_transition.sol | |
@@ -18,6 +18,6 @@ contract c { | |
// ---- | |
// test() -> 0 | |
// gas ir: 520020 | |
-// gas irOptimized: 398636 | |
+// gas irOptimized: 396856 | |
// gas legacy: 565428 | |
// gas legacyOptimized: 552363 | |
modified test/libsolidity/semanticTests/array/push/push_no_args_2d.sol | |
@@ -30,7 +30,7 @@ contract C { | |
// l() -> 0 | |
// f(uint256,uint256): 42, 64 -> | |
// gas ir: 219085 | |
-// gas irOptimized: 200008 | |
+// gas irOptimized: 199940 | |
// gas legacy: 163034 | |
// gas legacyOptimized: 157045 | |
// l() -> 1 | |
@@ -38,7 +38,7 @@ contract C { | |
// a(uint256,uint256): 0, 42 -> 64 | |
// f(uint256,uint256): 84, 128 -> | |
// gas ir: 329875 | |
-// gas irOptimized: 293494 | |
+// gas irOptimized: 293426 | |
// gas legacy: 222080 | |
// gas legacyOptimized: 210631 | |
// l() -> 2 | |
modified test/libsolidity/semanticTests/array/push/push_no_args_bytes.sol | |
@@ -24,7 +24,7 @@ contract C { | |
// l() -> 0 | |
// g(uint256): 70 -> | |
// gas ir: 505028 | |
-// gas irOptimized: 433788 | |
+// gas irOptimized: 429535 | |
// gas legacy: 419791 | |
// gas legacyOptimized: 415338 | |
// l() -> 70 | |
modified test/libsolidity/semanticTests/array/reusing_memory.sol | |
@@ -27,6 +27,6 @@ contract Main { | |
// ---- | |
// f(uint256): 0x34 -> 0x46bddb1178e94d7f2892ff5f366840eb658911794f2c3a44c450aa2c505186c1 | |
// gas ir: 193534 | |
-// gas irOptimized: 117287 | |
+// gas irOptimized: 117113 | |
// gas legacy: 145185 | |
-// gas legacyOptimized: 134916 | |
+// gas legacyOptimized: 135716 | |
modified test/libsolidity/semanticTests/constants/consteval_array_length.sol | |
@@ -8,10 +8,10 @@ contract C { | |
} | |
} | |
// ==== | |
-// compileViaYul: true | |
// compileToEwasm: also | |
+// compileViaYul: true | |
// ---- | |
// constructor() -> | |
-// gas ir: 238775 | |
-// gas irOptimized: 104517 | |
+// gas ir: 238787 | |
+// gas irOptimized: 86351 | |
// f() -> 0x0a, 0x0a | |
modified test/libsolidity/semanticTests/constructor/arrays_in_constructors.sol | |
@@ -27,6 +27,6 @@ contract Creator { | |
// ---- | |
// f(uint256,address[]): 7, 0x40, 10, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 -> 7, 8 | |
// gas ir: 648128 | |
-// gas irOptimized: 472538 | |
+// gas irOptimized: 479086 | |
// gas legacy: 588938 | |
-// gas legacyOptimized: 458718 | |
+// gas legacyOptimized: 459521 | |
modified test/libsolidity/semanticTests/constructor/bytes_in_constructors_packer.sol | |
@@ -27,6 +27,6 @@ contract Creator { | |
// ---- | |
// f(uint256,bytes): 7, 0x40, 78, "abcdefghijklmnopqrstuvwxyzabcdef", "ghijklmnopqrstuvwxyzabcdefghijkl", "mnopqrstuvwxyz" -> 7, "h" | |
// gas ir: 480709 | |
-// gas irOptimized: 335246 | |
+// gas irOptimized: 341865 | |
// gas legacy: 432885 | |
-// gas legacyOptimized: 314683 | |
+// gas legacyOptimized: 315487 | |
modified test/libsolidity/semanticTests/constructor/bytes_in_constructors_unpacker.sol | |
@@ -10,9 +10,9 @@ contract Test { | |
// compileViaYul: also | |
// ---- | |
// constructor(): 7, 0x40, 78, "abcdefghijklmnopqrstuvwxyzabcdef", "ghijklmnopqrstuvwxyzabcdefghijkl", "mnopqrstuvwxyz" -> | |
-// gas ir: 410896 | |
-// gas irOptimized: 309772 | |
+// gas ir: 410884 | |
+// gas irOptimized: 302570 | |
// gas legacy: 317612 | |
-// gas legacyOptimized: 271516 | |
+// gas legacyOptimized: 272316 | |
// m_x() -> 7 | |
// m_s() -> 0x20, 78, "abcdefghijklmnopqrstuvwxyzabcdef", "ghijklmnopqrstuvwxyzabcdefghijkl", "mnopqrstuvwxyz" | |
modified test/libsolidity/semanticTests/constructor/constructor_arguments_external.sol | |
@@ -20,8 +20,8 @@ contract Main { | |
// ---- | |
// constructor(): "abc", true | |
// gas ir: 240784 | |
-// gas irOptimized: 146664 | |
+// gas irOptimized: 142280 | |
// gas legacy: 163828 | |
-// gas legacyOptimized: 128603 | |
+// gas legacyOptimized: 129403 | |
// getFlag() -> true | |
// getName() -> "abc" | |
modified test/libsolidity/semanticTests/constructor/constructor_static_array_argument.sol | |
@@ -12,10 +12,10 @@ contract C { | |
// compileViaYul: also | |
// ---- | |
// constructor(): 1, 2, 3, 4 -> | |
-// gas ir: 322280 | |
-// gas irOptimized: 201834 | |
+// gas ir: 322268 | |
+// gas irOptimized: 198523 | |
// gas legacy: 228870 | |
-// gas legacyOptimized: 191304 | |
+// gas legacyOptimized: 192104 | |
// a() -> 1 | |
// b(uint256): 0 -> 2 | |
// b(uint256): 1 -> 3 | |
modified test/libsolidity/semanticTests/constructor/no_callvalue_check.sol | |
@@ -20,6 +20,6 @@ contract C { | |
// ---- | |
// f(), 2000 ether -> true | |
// gas ir: 149203 | |
-// gas irOptimized: 123853 | |
+// gas irOptimized: 123796 | |
// gas legacy: 177298 | |
-// gas legacyOptimized: 177197 | |
+// gas legacyOptimized: 179597 | |
modified test/libsolidity/semanticTests/constructor_ihneritance_init_order_2.sol | |
@@ -13,7 +13,7 @@ contract B is A { | |
// ---- | |
// constructor() -> | |
// gas ir: 230700 | |
-// gas irOptimized: 152439 | |
+// gas irOptimized: 143725 | |
// gas legacy: 149596 | |
-// gas legacyOptimized: 136048 | |
+// gas legacyOptimized: 136848 | |
// y() -> 42 | |
modified test/libsolidity/semanticTests/constructor_inheritance_init_order.sol | |
@@ -16,5 +16,5 @@ contract B is A { | |
// ---- | |
// constructor() -> | |
// gas ir: 230700 | |
-// gas irOptimized: 152439 | |
+// gas irOptimized: 143725 | |
// y() -> 42 | |
modified test/libsolidity/semanticTests/constructor_with_params.sol | |
@@ -12,8 +12,8 @@ contract C { | |
// ---- | |
// constructor(): 2, 0 -> | |
// gas ir: 196673 | |
-// gas irOptimized: 135894 | |
+// gas irOptimized: 127180 | |
// gas legacy: 131588 | |
-// gas legacyOptimized: 117266 | |
+// gas legacyOptimized: 118066 | |
// i() -> 2 | |
// k() -> 0 | |
modified test/libsolidity/semanticTests/constructor_with_params_diamond_inheritance.sol | |
@@ -24,9 +24,9 @@ contract D is B, C { | |
// ---- | |
// constructor(): 2, 0 -> | |
// gas ir: 260663 | |
-// gas irOptimized: 189188 | |
+// gas irOptimized: 183718 | |
// gas legacy: 182319 | |
-// gas legacyOptimized: 162080 | |
+// gas legacyOptimized: 162880 | |
// i() -> 2 | |
// j() -> 2 | |
// k() -> 1 | |
modified test/libsolidity/semanticTests/constructor_with_params_inheritance.sol | |
@@ -15,8 +15,8 @@ contract D is C { | |
// ---- | |
// constructor(): 2, 0 -> | |
// gas ir: 218871 | |
-// gas irOptimized: 156230 | |
+// gas irOptimized: 147516 | |
// gas legacy: 152968 | |
-// gas legacyOptimized: 137314 | |
+// gas legacyOptimized: 138114 | |
// i() -> 2 | |
// k() -> 1 | |
modified test/libsolidity/semanticTests/externalContracts/deposit_contract.sol | |
@@ -178,38 +178,38 @@ contract DepositContract is IDepositContract, ERC165 { | |
// compileViaYul: also | |
// ---- | |
// constructor() | |
-// gas ir: 1812702 | |
-// gas irOptimized: 1812047 | |
+// gas ir: 1842130 | |
+// gas irOptimized: 1829513 | |
// gas legacy: 2576034 | |
-// gas legacyOptimized: 1844697 | |
+// gas legacyOptimized: 1836623 | |
// supportsInterface(bytes4): 0x0 -> 0 | |
// supportsInterface(bytes4): 0xffffffff00000000000000000000000000000000000000000000000000000000 -> false # defined to be false by ERC-165 # | |
// supportsInterface(bytes4): 0x01ffc9a700000000000000000000000000000000000000000000000000000000 -> true # ERC-165 id # | |
// supportsInterface(bytes4): 0x8564090700000000000000000000000000000000000000000000000000000000 -> true # the deposit interface id # | |
// get_deposit_root() -> 0xd70a234731285c6804c2a4f56711ddb8c82c99740f207854891028af34e27e5e | |
-// gas ir: 107595 | |
-// gas irOptimized: 107589 | |
+// gas ir: 104621 | |
+// gas irOptimized: 104598 | |
// gas legacy: 128065 | |
// gas legacyOptimized: 101379 | |
// get_deposit_count() -> 0x20, 8, 0 # TODO: check balance and logs after each deposit # | |
// deposit(bytes,bytes,bytes,bytes32), 32 ether: 0 -> FAILURE # Empty input # | |
// get_deposit_root() -> 0xd70a234731285c6804c2a4f56711ddb8c82c99740f207854891028af34e27e5e | |
-// gas ir: 107595 | |
-// gas irOptimized: 107589 | |
+// gas ir: 104621 | |
+// gas irOptimized: 104598 | |
// gas legacy: 128065 | |
// gas legacyOptimized: 101379 | |
// get_deposit_count() -> 0x20, 8, 0 | |
// deposit(bytes,bytes,bytes,bytes32), 1 ether: 0x80, 0xe0, 0x120, 0xaa4a8d0b7d9077248630f1a4701ae9764e42271d7f22b7838778411857fd349e, 0x30, 0x933ad9491b62059dd065b560d256d8957a8c402cc6e8d8ee7290ae11e8f73292, 0x67a8811c397529dac52ae1342ba58c9500000000000000000000000000000000, 0x20, 0x00f50428677c60f997aadeab24aabf7fceaef491c96a52b463ae91f95611cf71, 0x60, 0xa29d01cc8c6296a8150e515b5995390ef841dc18948aa3e79be6d7c1851b4cbb, 0x5d6ff49fa70b9c782399506a22a85193151b9b691245cebafd2063012443c132, 0x4b6c36debaedefb7b2d71b0503ffdc00150aaffd42e63358238ec888901738b8 -> # txhash: 0x7085c586686d666e8bb6e9477a0f0b09565b2060a11f1c4209d3a52295033832 # | |
// get_deposit_root() -> 0x2089653123d9c721215120b6db6738ba273bbc5228ac093b1f983badcdc8a438 | |
-// gas ir: 107605 | |
-// gas irOptimized: 107599 | |
+// gas ir: 104631 | |
+// gas irOptimized: 104602 | |
// gas legacy: 128075 | |
// gas legacyOptimized: 101389 | |
// get_deposit_count() -> 0x20, 8, 0x0100000000000000000000000000000000000000000000000000000000000000 | |
// deposit(bytes,bytes,bytes,bytes32), 32 ether: 0x80, 0xe0, 0x120, 0xdbd986dc85ceb382708cf90a3500f500f0a393c5ece76963ac3ed72eccd2c301, 0x30, 0xb2ce0f79f90e7b3a113ca5783c65756f96c4b4673c2b5c1eb4efc22280259441, 0x06d601211e8866dc5b50dc48a244dd7c00000000000000000000000000000000, 0x20, 0x00344b6c73f71b11c56aba0d01b7d8ad83559f209d0a4101a515f6ad54c89771, 0x60, 0x945caaf82d18e78c033927d51f452ebcd76524497b91d7a11219cb3db6a1d369, 0x7595fc095ce489e46b2ef129591f2f6d079be4faaf345a02c5eb133c072e7c56, 0x0c6c3617eee66b4b878165c502357d49485326bc6b31bc96873f308c8f19c09d -> # txhash: 0x404d8e109822ce448e68f45216c12cb051b784d068fbe98317ab8e50c58304ac # | |
// get_deposit_root() -> 0x40255975859377d912c53aa853245ebd939bdd2b33a28e084babdcc1ed8238ee | |
-// gas ir: 107605 | |
-// gas irOptimized: 107599 | |
+// gas ir: 104631 | |
+// gas irOptimized: 104602 | |
// gas legacy: 128075 | |
// gas legacyOptimized: 101389 | |
// get_deposit_count() -> 0x20, 8, 0x0200000000000000000000000000000000000000000000000000000000000000 | |
modified test/libsolidity/semanticTests/externalContracts/snark.sol | |
@@ -296,7 +296,7 @@ contract Test { | |
// g() -> true | |
// pair() -> true | |
// verifyTx() -> true | |
-// gas ir: 146535 | |
-// gas irOptimized: 146496 | |
+// gas ir: 134307 | |
+// gas irOptimized: 130317 | |
// gas legacy: 130571 | |
// gas legacyOptimized: 101680 | |
modified test/libsolidity/semanticTests/freeFunctions/new_operator.sol | |
@@ -17,4 +17,4 @@ contract D { | |
// f() -> 2 | |
// gas ir: 165000 | |
// gas legacy: 119584 | |
-// gas legacyOptimized: 111420 | |
+// gas legacyOptimized: 112220 | |
modified test/libsolidity/semanticTests/functionCall/creation_function_call_no_args.sol | |
@@ -15,4 +15,4 @@ contract D { | |
// f() -> 2 | |
// gas ir: 164920 | |
// gas legacy: 119557 | |
-// gas legacyOptimized: 111385 | |
+// gas legacyOptimized: 112185 | |
modified test/libsolidity/semanticTests/functionCall/creation_function_call_with_args.sol | |
@@ -18,7 +18,7 @@ contract D { | |
// ---- | |
// constructor(): 2 -> | |
// gas ir: 398307 | |
-// gas irOptimized: 213190 | |
+// gas irOptimized: 219837 | |
// gas legacy: 281008 | |
-// gas legacyOptimized: 238451 | |
+// gas legacyOptimized: 240115 | |
// f() -> 2 | |
modified test/libsolidity/semanticTests/functionCall/creation_function_call_with_salt.sol | |
@@ -19,7 +19,7 @@ contract D { | |
// ---- | |
// constructor(): 2 -> | |
// gas ir: 398969 | |
-// gas irOptimized: 213421 | |
+// gas irOptimized: 220068 | |
// gas legacy: 281398 | |
-// gas legacyOptimized: 238707 | |
+// gas legacyOptimized: 240371 | |
// f() -> 2 | |
modified test/libsolidity/semanticTests/functionCall/failed_create.sol | |
@@ -19,16 +19,16 @@ contract C { | |
// ---- | |
// constructor(), 20 wei | |
// gas ir: 435657 | |
-// gas irOptimized: 231139 | |
-// gas legacy: 322738 | |
-// gas legacyOptimized: 220382 | |
+// gas irOptimized: 263649 | |
+// gas legacy: 322750 | |
+// gas legacyOptimized: 222046 | |
// f(uint256): 20 -> 1370859564726510389319704988634906228201275401179 | |
// x() -> 1 | |
// f(uint256): 20 -> FAILURE | |
// x() -> 1 | |
// stack(uint256): 1023 -> FAILURE | |
// gas ir: 1162959 | |
-// gas irOptimized: 835314 | |
+// gas irOptimized: 853785 | |
// gas legacy: 981671 | |
// gas legacyOptimized: 831459 | |
// x() -> 1 | |
modified test/libsolidity/semanticTests/functionCall/gas_and_value_basic.sol | |
@@ -42,9 +42,9 @@ contract test { | |
// ---- | |
// constructor(), 20 wei -> | |
// gas ir: 635671 | |
-// gas irOptimized: 355610 | |
-// gas legacy: 441567 | |
-// gas legacyOptimized: 330789 | |
+// gas irOptimized: 356563 | |
+// gas legacy: 441591 | |
+// gas legacyOptimized: 332465 | |
// sendAmount(uint256): 5 -> 5 | |
// outOfGas() -> FAILURE # call to helper should not succeed but amount should be transferred anyway # | |
// checkState() -> false, 15 | |
modified test/libsolidity/semanticTests/functionCall/gas_and_value_brace_syntax.sol | |
@@ -41,9 +41,9 @@ contract test { | |
// ---- | |
// constructor(), 20 wei -> | |
// gas ir: 635671 | |
-// gas irOptimized: 355634 | |
+// gas irOptimized: 356563 | |
// gas legacy: 441591 | |
-// gas legacyOptimized: 330801 | |
+// gas legacyOptimized: 332465 | |
// sendAmount(uint256): 5 -> 5 | |
// outOfGas() -> FAILURE # call to helper should not succeed but amount should be transferred anyway # | |
// checkState() -> false, 15 | |
modified test/libsolidity/semanticTests/functionCall/mapping_array_internal_argument.sol | |
@@ -20,8 +20,8 @@ contract test { | |
// compileViaYul: also | |
// ---- | |
// set(uint8,uint8,uint8,uint8,uint8): 1, 21, 22, 42, 43 -> 0, 0, 0, 0 | |
-// gas ir: 110993 | |
-// gas irOptimized: 110993 | |
+// gas ir: 110463 | |
+// gas irOptimized: 110073 | |
// gas legacy: 111406 | |
// gas legacyOptimized: 108017 | |
// get(uint8): 1 -> 21, 22, 42, 43 | |
modified test/libsolidity/semanticTests/functionCall/send_zero_ether.sol | |
@@ -19,8 +19,8 @@ contract Main { | |
// compileViaYul: also | |
// ---- | |
// constructor(), 20 wei -> | |
-// gas ir: 216460 | |
-// gas irOptimized: 123804 | |
-// gas legacy: 153937 | |
-// gas legacyOptimized: 140425 | |
+// gas ir: 216448 | |
+// gas irOptimized: 119834 | |
+// gas legacy: 153949 | |
+// gas legacyOptimized: 142095 | |
// s() -> true | |
modified test/libsolidity/semanticTests/functionTypes/store_function.sol | |
@@ -29,6 +29,6 @@ contract C { | |
// ---- | |
// t() -> 9 | |
// gas ir: 195481 | |
-// gas irOptimized: 124878 | |
+// gas irOptimized: 121026 | |
// gas legacy: 179046 | |
-// gas legacyOptimized: 131863 | |
+// gas legacyOptimized: 132675 | |
modified test/libsolidity/semanticTests/immutable/multi_creation.sol | |
@@ -29,9 +29,9 @@ contract C { | |
// compileViaYul: also | |
// ---- | |
// f() -> 3, 7, 5 | |
-// gas ir: 133517 | |
-// gas irOptimized: 133517 | |
+// gas ir: 133434 | |
+// gas irOptimized: 133434 | |
// gas legacy: 190053 | |
-// gas legacyOptimized: 172029 | |
+// gas legacyOptimized: 173629 | |
// x() -> 7 | |
// y() -> 5 | |
modified test/libsolidity/semanticTests/immutable/use_scratch.sol | |
@@ -18,8 +18,8 @@ contract C { | |
// ---- | |
// constructor(): 3 -> | |
// gas ir: 285927 | |
-// gas irOptimized: 168776 | |
+// gas irOptimized: 165546 | |
// gas legacy: 223147 | |
-// gas legacyOptimized: 159799 | |
+// gas legacyOptimized: 160599 | |
// f() -> 84, 23 | |
// m(uint256): 3 -> 7 | |
modified test/libsolidity/semanticTests/inheritance/address_overload_resolution.sol | |
@@ -24,11 +24,11 @@ contract D { | |
// ---- | |
// f() -> 1 | |
// gas ir: 172056 | |
-// gas irOptimized: 111246 | |
+// gas irOptimized: 98658 | |
// gas legacy: 132436 | |
-// gas legacyOptimized: 100628 | |
+// gas legacyOptimized: 101428 | |
// g() -> 5 | |
// gas ir: 172294 | |
-// gas irOptimized: 111379 | |
+// gas irOptimized: 98760 | |
// gas legacy: 132896 | |
-// gas legacyOptimized: 100753 | |
+// gas legacyOptimized: 101553 | |
modified test/libsolidity/semanticTests/inheritance/inherited_function_calldata_calldata_interface.sol | |
@@ -26,6 +26,6 @@ contract B { | |
// ---- | |
// g() -> 42 | |
// gas ir: 162537 | |
-// gas irOptimized: 107179 | |
+// gas irOptimized: 102805 | |
// gas legacy: 135833 | |
-// gas legacyOptimized: 114729 | |
+// gas legacyOptimized: 115529 | |
modified test/libsolidity/semanticTests/inheritance/inherited_function_calldata_memory_interface.sol | |
@@ -26,6 +26,6 @@ contract B { | |
// ---- | |
// g() -> 42 | |
// gas ir: 195082 | |
-// gas irOptimized: 127021 | |
+// gas irOptimized: 134071 | |
// gas legacy: 198621 | |
-// gas legacyOptimized: 137867 | |
+// gas legacyOptimized: 138667 | |
modified test/libsolidity/semanticTests/inheritance/member_notation_ctor.sol | |
@@ -24,8 +24,8 @@ contract A { | |
// g(int256): -1 -> -1 | |
// gas ir: 168491 | |
// gas legacy: 121455 | |
-// gas legacyOptimized: 112189 | |
+// gas legacyOptimized: 112989 | |
// g(int256): 10 -> 10 | |
// gas ir: 168119 | |
// gas legacy: 121083 | |
-// gas legacyOptimized: 111817 | |
+// gas legacyOptimized: 112617 | |
modified test/libsolidity/semanticTests/inheritance/value_for_constructor.sol | |
@@ -43,9 +43,9 @@ contract Main { | |
// ---- | |
// constructor(), 22 wei -> | |
// gas ir: 600573 | |
-// gas irOptimized: 355784 | |
+// gas irOptimized: 356077 | |
// gas legacy: 441845 | |
-// gas legacyOptimized: 323773 | |
+// gas legacyOptimized: 325440 | |
// getFlag() -> true | |
// getName() -> "abc" | |
// getBalances() -> 12, 10 | |
modified test/libsolidity/semanticTests/interface_inheritance_conversions.sol | |
@@ -38,15 +38,15 @@ contract C { | |
// ---- | |
// convertParent() -> 1 | |
// gas ir: 183986 | |
-// gas irOptimized: 122356 | |
+// gas irOptimized: 123220 | |
// gas legacy: 117425 | |
// convertSubA() -> 1, 2 | |
// gas ir: 187032 | |
-// gas irOptimized: 124555 | |
+// gas irOptimized: 125366 | |
// gas legacy: 119739 | |
-// gas legacyOptimized: 100802 | |
+// gas legacyOptimized: 101602 | |
// convertSubB() -> 1, 3 | |
// gas ir: 186966 | |
-// gas irOptimized: 124489 | |
+// gas irOptimized: 125300 | |
// gas legacy: 119673 | |
-// gas legacyOptimized: 100736 | |
+// gas legacyOptimized: 101536 | |
modified test/libsolidity/semanticTests/salted_create/salted_create.sol | |
@@ -23,9 +23,9 @@ contract A { | |
// different_salt() -> true | |
// gas ir: 107186 | |
// gas legacy: 125513 | |
-// gas legacyOptimized: 125448 | |
+// gas legacyOptimized: 127069 | |
// same_salt() -> true | |
// gas ir: 98439503 | |
-// gas irOptimized: 98439083 | |
+// gas irOptimized: 98439037 | |
// gas legacy: 98439398 | |
-// gas legacyOptimized: 98439297 | |
+// gas legacyOptimized: 98439310 | |
modified test/libsolidity/semanticTests/salted_create/salted_create_with_value.sol | |
@@ -22,7 +22,7 @@ contract A { | |
// compileViaYul: also | |
// ---- | |
// f(), 10 ether -> 3007, 3008, 3009 | |
-// gas ir: 338630 | |
-// gas irOptimized: 338630 | |
+// gas ir: 327566 | |
+// gas irOptimized: 327566 | |
// gas legacy: 476123 | |
-// gas legacyOptimized: 348234 | |
+// gas legacyOptimized: 350664 | |
modified test/libsolidity/semanticTests/smoke/alignment.sol | |
@@ -29,5 +29,5 @@ contract D { | |
// internalStateDecimal() -> 0x20 | |
// gas ir: 165009 | |
// gas legacy: 119637 | |
-// gas legacyOptimized: 111473 | |
+// gas legacyOptimized: 112273 | |
// update(bool,uint256,bytes32): false, -23, left(0x2300ef) -> false, -23, left(0x2300ef) | |
modified test/libsolidity/semanticTests/smoke/constructor.sol | |
@@ -15,9 +15,9 @@ contract C { | |
// ---- | |
// constructor(), 2 wei: 3 -> | |
// gas ir: 274748 | |
-// gas irOptimized: 151372 | |
+// gas irOptimized: 146310 | |
// gas legacy: 166034 | |
-// gas legacyOptimized: 130692 | |
+// gas legacyOptimized: 131492 | |
// state() -> 3 | |
// balance() -> 2 | |
// update(uint256): 4 | |
modified test/libsolidity/semanticTests/state/blockhash_basic.sol | |
@@ -15,9 +15,9 @@ contract C { | |
// ---- | |
// constructor() | |
// gas ir: 237108 | |
-// gas irOptimized: 152081 | |
+// gas irOptimized: 147043 | |
// gas legacy: 167701 | |
-// gas legacyOptimized: 127295 | |
+// gas legacyOptimized: 128095 | |
// genesisHash() -> 0x3737373737373737373737373737373737373737373737373737373737373737 | |
// currentHash() -> 0 | |
// f(uint256): 0 -> 0x3737373737373737373737373737373737373737373737373737373737373737 | |
modified test/libsolidity/semanticTests/storage/packed_storage_structs_bytes.sol | |
@@ -47,6 +47,6 @@ contract C { | |
// ---- | |
// test() -> true | |
// gas ir: 151196 | |
-// gas irOptimized: 143682 | |
+// gas irOptimized: 143351 | |
// gas legacy: 143536 | |
// gas legacyOptimized: 133421 | |
modified test/libsolidity/semanticTests/structs/calldata/calldata_struct_with_nested_array_to_storage.sol | |
@@ -18,7 +18,7 @@ contract C { | |
// compileViaYul: also | |
// ---- | |
// f(uint32,(uint128,uint256[][2],uint32)): 55, 0x40, 77, 0x60, 88, 0x40, 0x40, 2, 1, 2 -> 55, 77, 1, 2, 88 | |
-// gas ir: 202441 | |
-// gas irOptimized: 202421 | |
+// gas ir: 198393 | |
+// gas irOptimized: 198023 | |
// gas legacy: 205149 | |
-// gas legacyOptimized: 200705 | |
+// gas legacyOptimized: 197048 | |
modified test/libsolidity/semanticTests/structs/conversion/recursive_storage_memory.sol | |
@@ -26,4 +26,4 @@ contract CopyTest { | |
// ---- | |
// run() -> 2, 23, 42 | |
// gas ir: 155198 | |
-// gas irOptimized: 114778 | |
+// gas irOptimized: 113093 | |
modified test/libsolidity/semanticTests/structs/memory_structs_nested_load.sol | |
@@ -69,7 +69,7 @@ contract Test { | |
// ---- | |
// load() -> 0x01, 0x02, 0x03, 0x04, 0x05, 0x06 | |
// gas ir: 121180 | |
-// gas irOptimized: 112341 | |
+// gas irOptimized: 111605 | |
// gas legacy: 113999 | |
// gas legacyOptimized: 106383 | |
// store() -> 0x01, 0x02, 0x03, 0x04, 0x05, 0x06 | |
modified test/libsolidity/semanticTests/structs/struct_containing_bytes_copy_and_delete.sol | |
@@ -26,7 +26,7 @@ contract c { | |
// storage: empty | |
// set(uint256,bytes,uint256): 12, 0x60, 13, 33, "12345678901234567890123456789012", "3" -> true | |
// gas ir: 127524 | |
-// gas irOptimized: 124422 | |
+// gas irOptimized: 124343 | |
// gas legacy: 124736 | |
// gas legacyOptimized: 124199 | |
// test(uint256): 32 -> "3" | |
modified test/libsolidity/semanticTests/structs/struct_copy.sol | |
@@ -39,13 +39,13 @@ contract c { | |
// ---- | |
// set(uint256): 7 -> true | |
// gas ir: 107768 | |
-// gas irOptimized: 101963 | |
+// gas irOptimized: 101915 | |
// gas legacy: 102216 | |
// gas legacyOptimized: 101650 | |
// retrieve(uint256): 7 -> 1, 3, 4, 2 | |
// copy(uint256,uint256): 7, 8 -> true | |
// gas ir: 111511 | |
-// gas irOptimized: 105289 | |
+// gas irOptimized: 105232 | |
// gas legacy: 105566 | |
// gas legacyOptimized: 105066 | |
// retrieve(uint256): 7 -> 1, 3, 4, 2 | |
modified test/libsolidity/semanticTests/structs/struct_copy_via_local.sol | |
@@ -22,6 +22,6 @@ contract c { | |
// ---- | |
// test() -> true | |
// gas ir: 113410 | |
-// gas irOptimized: 101589 | |
+// gas irOptimized: 101509 | |
// gas legacy: 106427 | |
// gas legacyOptimized: 101366 | |
modified test/libsolidity/semanticTests/structs/struct_delete_storage_nested_small.sol | |
@@ -33,5 +33,5 @@ contract C { | |
// compileViaYul: true | |
// ---- | |
// f() -> 0, 0, 0 | |
-// gas ir: 125251 | |
-// gas irOptimized: 125251 | |
+// gas ir: 124794 | |
+// gas irOptimized: 124744 | |
modified test/libsolidity/semanticTests/structs/struct_delete_storage_with_array.sol | |
@@ -45,7 +45,7 @@ contract C { | |
// ---- | |
// f() -> | |
// gas ir: 137832 | |
-// gas irOptimized: 129606 | |
+// gas irOptimized: 124113 | |
// gas legacy: 126832 | |
// gas legacyOptimized: 125500 | |
// g() -> | |
modified test/libsolidity/semanticTests/structs/struct_delete_storage_with_arrays_small.sol | |
@@ -28,4 +28,4 @@ contract C { | |
// ---- | |
// f() -> 0 | |
// gas ir: 129331 | |
-// gas irOptimized: 118884 | |
+// gas irOptimized: 118134 | |
modified test/libsolidity/semanticTests/structs/struct_memory_to_storage_function_ptr.sol | |
@@ -32,6 +32,6 @@ contract C { | |
// ---- | |
// f() -> 42, 23, 34, 42, 42 | |
// gas ir: 117319 | |
-// gas irOptimized: 108806 | |
+// gas irOptimized: 108667 | |
// gas legacy: 110821 | |
// gas legacyOptimized: 105181 | |
modified test/libsolidity/semanticTests/structs/structs.sol | |
@@ -33,7 +33,7 @@ contract test { | |
// check() -> false | |
// set() -> | |
// gas ir: 132857 | |
-// gas irOptimized: 128680 | |
+// gas irOptimized: 128533 | |
// gas legacy: 129577 | |
// gas legacyOptimized: 127009 | |
// check() -> true | |
modified test/libsolidity/semanticTests/various/address_code.sol | |
@@ -17,9 +17,9 @@ contract C { | |
// ---- | |
// constructor() -> | |
// gas ir: 389349 | |
-// gas irOptimized: 238790 | |
+// gas irOptimized: 235194 | |
// gas legacy: 260286 | |
-// gas legacyOptimized: 185040 | |
+// gas legacyOptimized: 185846 | |
// initCode() -> 0x20, 0 | |
// f() -> true | |
// g() -> 0 | |
modified test/libsolidity/semanticTests/various/code_access_content.sol | |
@@ -42,8 +42,8 @@ contract C { | |
// testRuntime() -> true | |
// gas ir: 164297 | |
// gas legacy: 118814 | |
-// gas legacyOptimized: 110827 | |
+// gas legacyOptimized: 111642 | |
// testCreation() -> true | |
// gas ir: 165984 | |
// gas legacy: 120027 | |
-// gas legacyOptimized: 111797 | |
+// gas legacyOptimized: 112624 | |
modified test/libsolidity/semanticTests/various/code_access_create.sol | |
@@ -28,4 +28,4 @@ contract C { | |
// test() -> 7 | |
// gas ir: 167297 | |
// gas legacy: 120228 | |
-// gas legacyOptimized: 111442 | |
+// gas legacyOptimized: 112242 | |
modified test/libsolidity/semanticTests/various/code_access_runtime.sol | |
@@ -27,4 +27,4 @@ contract C { | |
// test() -> 42 | |
// gas ir: 164781 | |
// gas legacy: 118201 | |
-// gas legacyOptimized: 109663 | |
+// gas legacyOptimized: 110463 | |
modified test/libsolidity/semanticTests/various/codebalance_assembly.sol | |
@@ -24,7 +24,7 @@ contract C { | |
// ---- | |
// constructor(), 23 wei -> | |
// gas ir: 171051 | |
-// gas irOptimized: 124560 | |
+// gas irOptimized: 119090 | |
// gas legacy: 118567 | |
// f() -> 0 | |
// g() -> 1 | |
modified test/libsolidity/semanticTests/various/contract_binary_dependencies.sol | |
@@ -22,6 +22,6 @@ contract C { | |
// ---- | |
// constructor() -> | |
// gas ir: 202618 | |
-// gas irOptimized: 123331 | |
+// gas irOptimized: 119361 | |
// gas legacy: 132079 | |
-// gas legacyOptimized: 132079 | |
+// gas legacyOptimized: 133743 | |
modified test/libsolidity/semanticTests/various/destructuring_assignment.sol | |
@@ -36,7 +36,7 @@ contract C { | |
// compileViaYul: also | |
// ---- | |
// f(bytes): 0x20, 0x5, "abcde" -> 0 | |
-// gas ir: 249091 | |
-// gas irOptimized: 249042 | |
+// gas ir: 242118 | |
+// gas irOptimized: 242069 | |
// gas legacy: 239258 | |
// gas legacyOptimized: 238607 | |
modified test/libsolidity/semanticTests/various/external_types_in_calls.sol | |
@@ -29,5 +29,5 @@ contract C { | |
// test() -> 9, 7 | |
// gas ir: 181844 | |
// gas legacy: 141431 | |
-// gas legacyOptimized: 118951 | |
+// gas legacyOptimized: 119751 | |
// t2() -> 9 | |
modified test/libsolidity/semanticTests/various/negative_stack_height.sol | |
@@ -66,4 +66,4 @@ contract C { | |
// ---- | |
// constructor() -> | |
// gas legacy: 603359 | |
-// gas legacyOptimized: 369783 | |
+// gas legacyOptimized: 370589 | |
modified test/libsolidity/semanticTests/various/senders_balance.sol | |
@@ -20,7 +20,7 @@ contract D { | |
// ---- | |
// constructor(), 27 wei -> | |
// gas ir: 350373 | |
-// gas irOptimized: 188854 | |
+// gas irOptimized: 195504 | |
// gas legacy: 260502 | |
-// gas legacyOptimized: 215489 | |
+// gas legacyOptimized: 217165 | |
// f() -> 27 | |
modified test/libsolidity/semanticTests/various/skip_dynamic_types_for_structs.sol | |
@@ -23,6 +23,6 @@ contract C { | |
// ---- | |
// g() -> 2, 6 | |
// gas ir: 180658 | |
-// gas irOptimized: 170427 | |
+// gas irOptimized: 169988 | |
// gas legacy: 172490 | |
// gas legacyOptimized: 171221 | |
modified test/libsolidity/semanticTests/various/staticcall_for_view_and_pure.sol | |
@@ -38,14 +38,14 @@ contract D { | |
// f() -> 0x1 # This should work, next should throw # | |
// gas ir: 186425 | |
// gas legacy: 120980 | |
-// gas legacyOptimized: 111388 | |
+// gas legacyOptimized: 112188 | |
// fview() -> FAILURE | |
// gas ir: 98440114 | |
// gas irOptimized: 98438674 | |
// gas legacy: 98439103 | |
-// gas legacyOptimized: 98438960 | |
+// gas legacyOptimized: 98438972 | |
// fpure() -> FAILURE | |
// gas ir: 98440114 | |
// gas irOptimized: 98438674 | |
// gas legacy: 98439104 | |
-// gas legacyOptimized: 98438960 | |
+// gas legacyOptimized: 98438972 | |
modified test/libsolidity/semanticTests/various/swap_in_storage_overwrite.sol | |
@@ -31,7 +31,7 @@ contract c { | |
// y() -> 0, 0 | |
// set() -> | |
// gas ir: 106508 | |
-// gas irOptimized: 101473 | |
+// gas irOptimized: 101425 | |
// gas legacy: 101332 | |
// gas legacyOptimized: 101294 | |
// x() -> 1, 2 | |
modified test/libsolidity/semanticTests/various/value_complex.sol | |
@@ -23,7 +23,7 @@ contract test { | |
// ---- | |
// constructor(), 20 wei -> | |
// gas ir: 400902 | |
-// gas irOptimized: 201750 | |
+// gas irOptimized: 208592 | |
// gas legacy: 301603 | |
-// gas legacyOptimized: 228542 | |
+// gas legacyOptimized: 230197 | |
// sendAmount(uint256): 5 -> 8 | |
modified test/libsolidity/semanticTests/various/value_insane.sol | |
@@ -22,7 +22,7 @@ contract test { | |
// ---- | |
// constructor(), 20 wei -> | |
// gas ir: 403458 | |
-// gas irOptimized: 203922 | |
-// gas legacy: 303302 | |
-// gas legacyOptimized: 230474 | |
+// gas irOptimized: 210740 | |
+// gas legacy: 303314 | |
+// gas legacyOptimized: 232141 | |
// sendAmount(uint256): 5 -> 8 | |
modified test/libsolidity/semanticTests/viaYul/array_memory_index_access.sol | |
@@ -29,7 +29,7 @@ contract C { | |
// index(uint256): 20 -> true | |
// index(uint256): 0xFF -> true | |
// gas ir: 480674 | |
-// gas irOptimized: 168557 | |
+// gas irOptimized: 168477 | |
// gas legacy: 248854 | |
// gas legacyOptimized: 152672 | |
// accessIndex(uint256,int256): 10, 1 -> 2 | |
modified test/libsolidity/semanticTests/viaYul/array_storage_index_access.sol | |
@@ -19,41 +19,41 @@ contract C { | |
// test_indices(uint256): 1 -> | |
// test_indices(uint256): 129 -> | |
// gas ir: 3797603 | |
-// gas irOptimized: 3572413 | |
+// gas irOptimized: 3567349 | |
// gas legacy: 3340105 | |
// gas legacyOptimized: 3280773 | |
// test_indices(uint256): 5 -> | |
// gas ir: 781923 | |
-// gas irOptimized: 684693 | |
+// gas irOptimized: 682905 | |
// gas legacy: 458941 | |
// gas legacyOptimized: 455849 | |
// test_indices(uint256): 10 -> | |
// gas ir: 107663 | |
// test_indices(uint256): 15 -> | |
// gas ir: 139793 | |
-// gas irOptimized: 115342 | |
+// gas irOptimized: 114841 | |
// test_indices(uint256): 0xFF -> | |
// gas ir: 4994703 | |
-// gas irOptimized: 4554277 | |
+// gas irOptimized: 4544481 | |
// gas legacy: 4107867 | |
// gas legacyOptimized: 3991807 | |
// test_indices(uint256): 1000 -> | |
// gas ir: 23586895 | |
-// gas irOptimized: 21917394 | |
+// gas irOptimized: 21881663 | |
// gas legacy: 20360399 | |
// gas legacyOptimized: 19921344 | |
// test_indices(uint256): 129 -> | |
// gas ir: 5948697 | |
-// gas irOptimized: 5135327 | |
+// gas irOptimized: 5120604 | |
// gas legacy: 3472135 | |
// gas legacyOptimized: 3415947 | |
// test_indices(uint256): 128 -> | |
// gas ir: 852771 | |
-// gas irOptimized: 663783 | |
+// gas irOptimized: 660396 | |
// gas legacy: 556972 | |
// gas legacyOptimized: 508124 | |
// test_indices(uint256): 1 -> | |
// gas ir: 773769 | |
-// gas irOptimized: 680239 | |
+// gas irOptimized: 678516 | |
// gas legacy: 452407 | |
// gas legacyOptimized: 450811 | |
modified test/libsolidity/semanticTests/viaYul/array_storage_index_boundary_test.sol | |
@@ -19,12 +19,12 @@ contract C { | |
// test_boundary_check(uint256,uint256): 10, 10 -> FAILURE, hex"4e487b71", 0x32 | |
// test_boundary_check(uint256,uint256): 256, 256 -> FAILURE, hex"4e487b71", 0x32 | |
// gas ir: 960203 | |
-// gas irOptimized: 678468 | |
+// gas irOptimized: 676497 | |
// gas legacy: 648515 | |
// gas legacyOptimized: 628739 | |
// test_boundary_check(uint256,uint256): 256, 255 -> 0 | |
// gas ir: 961759 | |
-// gas irOptimized: 679610 | |
+// gas irOptimized: 677588 | |
// gas legacy: 649549 | |
// gas legacyOptimized: 629666 | |
// test_boundary_check(uint256,uint256): 256, 0xFFFF -> FAILURE, hex"4e487b71", 0x32 | |
modified test/libsolidity/semanticTests/viaYul/array_storage_index_zeroed_test.sol | |
@@ -55,21 +55,21 @@ contract C { | |
// test_zeroed_indicies(uint256): 1 -> | |
// test_zeroed_indicies(uint256): 5 -> | |
// gas ir: 243517 | |
-// gas irOptimized: 222625 | |
+// gas irOptimized: 222174 | |
// gas legacy: 191267 | |
// gas legacyOptimized: 188486 | |
// test_zeroed_indicies(uint256): 10 -> | |
// gas ir: 363409 | |
-// gas irOptimized: 327375 | |
+// gas irOptimized: 326636 | |
// gas legacy: 276129 | |
// gas legacyOptimized: 271024 | |
// test_zeroed_indicies(uint256): 15 -> | |
// gas ir: 460299 | |
-// gas irOptimized: 409400 | |
+// gas irOptimized: 408386 | |
// gas legacy: 339254 | |
// gas legacyOptimized: 331904 | |
// test_zeroed_indicies(uint256): 0xFF -> | |
// gas ir: 10516489 | |
-// gas irOptimized: 9686975 | |
+// gas irOptimized: 9669706 | |
// gas legacy: 8477449 | |
// gas legacyOptimized: 8343774 | |
modified test/libsolidity/semanticTests/viaYul/array_storage_length_access.sol | |
@@ -15,12 +15,12 @@ contract C { | |
// set_get_length(uint256): 20 -> 20 | |
// set_get_length(uint256): 0xFF -> 0xFF | |
// gas ir: 917394 | |
-// gas irOptimized: 434473 | |
+// gas irOptimized: 434427 | |
// gas legacy: 619622 | |
// gas legacyOptimized: 600751 | |
// set_get_length(uint256): 0xFFF -> 0xFFF | |
// gas ir: 14623616 | |
-// gas irOptimized: 6743235 | |
+// gas irOptimized: 6743189 | |
// gas legacy: 9765519 | |
// gas legacyOptimized: 9461853 | |
// set_get_length(uint256): 0xFFFFF -> FAILURE # Out-of-gas # | |
modified test/libsolidity/semanticTests/viaYul/array_storage_push_empty.sol | |
@@ -14,12 +14,12 @@ contract C { | |
// ---- | |
// pushEmpty(uint256): 128 | |
// gas ir: 855539 | |
-// gas irOptimized: 632037 | |
+// gas irOptimized: 629943 | |
// gas legacy: 607287 | |
// gas legacyOptimized: 589048 | |
// pushEmpty(uint256): 256 | |
// gas ir: 1162867 | |
-// gas irOptimized: 862821 | |
+// gas irOptimized: 859703 | |
// gas legacy: 828983 | |
// gas legacyOptimized: 802808 | |
// pushEmpty(uint256): 32768 -> FAILURE # out-of-gas # | |
modified test/libsolidity/semanticTests/viaYul/array_storage_push_empty_length_address.sol | |
@@ -19,17 +19,17 @@ contract C { | |
// set_get_length(uint256): 20 -> 20 | |
// set_get_length(uint256): 0 -> 0 | |
// gas ir: 144209 | |
-// gas irOptimized: 110296 | |
+// gas irOptimized: 110090 | |
// gas legacy: 107830 | |
// gas legacyOptimized: 107295 | |
// set_get_length(uint256): 0xFF -> 0xFF | |
// gas ir: 994431 | |
-// gas irOptimized: 702388 | |
+// gas irOptimized: 700302 | |
// gas legacy: 882337 | |
// gas legacyOptimized: 650737 | |
// set_get_length(uint256): 0xFFF -> 0xFFF | |
// gas ir: 14624613 | |
-// gas irOptimized: 10238500 | |
+// gas irOptimized: 10207734 | |
// gas legacy: 12945874 | |
// gas legacyOptimized: 9462679 | |
// set_get_length(uint256): 0xFFFF -> FAILURE # Out-of-gas # | |
modified test/libsolidity/semanticTests/viaYul/array_storage_push_pop.sol | |
@@ -17,17 +17,17 @@ contract C { | |
// gas ir: 121925 | |
// set_get_length(uint256): 20 -> 0 | |
// gas ir: 218885 | |
-// gas irOptimized: 162779 | |
+// gas irOptimized: 162413 | |
// gas legacy: 141922 | |
// gas legacyOptimized: 139741 | |
// set_get_length(uint256): 0xFF -> 0 | |
// gas ir: 2497445 | |
-// gas irOptimized: 1792504 | |
+// gas irOptimized: 1788378 | |
// gas legacy: 1524427 | |
// gas legacyOptimized: 1500391 | |
// set_get_length(uint256): 0xFFF -> 0 | |
// gas ir: 39730097 | |
-// gas irOptimized: 28422916 | |
+// gas irOptimized: 28357350 | |
// gas legacy: 24115159 | |
// gas legacyOptimized: 23734003 | |
// set_get_length(uint256): 0xFFFF -> FAILURE # Out-of-gas # |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment