You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
vyper Version (output of vyper --version): 9c98b3e
What's your issue about?
the following venom program is resistant to the memory merge pass. the sequence mstore(64, mload(416)); mstore(96, mload(448)) should get merged to mcopy(64, 416, 64), but because of sequencing of the barriers, the optimization does not get applied.
function global {
main:
invoke@test, 352%49 = mload 352
mstore 448, %49%51 = mload 416
mstore 64, %51%54 = mload 448; barrier, flushes mload 416 from list of potential copies
mstore 96, %54
stop
}
function test {
main:
stop
}
The text was updated successfully, but these errors were encountered:
charles-cooper
changed the title
memerge pass flushes too aggressively on certain barriers
memmerge pass flushes too aggressively on certain barriers
Dec 22, 2024
Version Information
vyper --version
): 9c98b3eWhat's your issue about?
the following venom program is resistant to the memory merge pass. the sequence
mstore(64, mload(416)); mstore(96, mload(448))
should get merged tomcopy(64, 416, 64)
, but because of sequencing of the barriers, the optimization does not get applied.The text was updated successfully, but these errors were encountered: