Add structural simplifier as optimization step for Yul.

This commit is contained in:
Daniel Kirchner
2018-12-06 18:37:35 +01:00
parent 4b2a64306a
commit 1eb60cbb39
19 changed files with 292 additions and 15 deletions
@@ -0,0 +1,6 @@
{ if 1 { if 1 { for { mstore(0, 0) } 0 {} { mstore(2, 3) } if 0 { mstore(1, 2) } } } }
// ----
// structuralSimplifier
// {
// mstore(0, 0)
// }