Do not replace zeros by return variable.

This commit is contained in:
chriseth
2021-04-22 16:54:02 +02:00
parent cd13fcd758
commit 00fb2d390b
75 changed files with 150 additions and 130 deletions
@@ -11,6 +11,6 @@ contract C {
// compileViaYul: also
// ----
// f(bytes): 0x20, 0x80, 0x21, 0x40, 0x7, "abcdefg" -> 0x21, 0x40, 0x7, "abcdefg"
// gas irOptimized: 130131
// gas irOptimized: 130136
// gas legacy: 131690
// gas legacyOptimized: 130577
// gas legacyOptimized: 130582