Conversation
e42bdd9 to
c6894df
Compare
Codecov Report
@@ Coverage Diff @@
## develop #5584 +/- ##
===========================================
+ Coverage 87.98% 87.99% +<.01%
===========================================
Files 332 334 +2
Lines 32108 32183 +75
Branches 3855 3863 +8
===========================================
+ Hits 28250 28319 +69
- Misses 2551 2554 +3
- Partials 1307 1310 +3
|
This comment has been minimized.
This comment has been minimized.
22c58e3 to
305363f
Compare
7749ee4 to
a5fcffb
Compare
| // ---- | ||
| // structuralSimplifier | ||
| // { | ||
| // let a := 42 |
libyul/optimiser/Suite.cpp
Outdated
| VarDeclPropagator{}(ast); | ||
| RedundantAssignEliminator::run(ast); | ||
| UnusedPruner::runUntilStabilised(ast, reservedIdentifiers); | ||
| StructuralSimplifier{}(ast); |
There was a problem hiding this comment.
I think it makes sense to run this before the unused pruner, because it could remove some uses of some variables.
There was a problem hiding this comment.
I moved it to after each run of the expression simplifier now, that's probably a good spot.
|
Oh - I hadn't noticed that the appveyor failure is in fact relevant: there are different variable names generated, so may be some nondeterminism |
|
@chriseth We had an indication of non-determinism in the appveyor test run before (different suffices in some test case) - so we should at least wait for the appveyor test to succeed. |
|
Still there: for reference: So we have to look into this before merging. It's a "harmless" difference in a sense, since it's just an alphabetic variant, but still. |
| // revert(_2, _2) | ||
| // } | ||
| // let abi_decode_abi_decode_length_14_1069 := 0x2 | ||
| // if _2 |
|
That's not funny.... |
Dismissing to prevent accidental merge before clarifying the non-determinism.
|
@chriseth Yes, so far I don't see the cause and it may be unrelated to this PR and just "randomly" triggered here, but "at least" the difference seems to happen deterministically for this PR now. |
This comment has been minimized.
This comment has been minimized.
1 similar comment
This comment has been minimized.
This comment has been minimized.
a166841 to
a5c90af
Compare
|
Fingers crossed. Still needs to be squashed. |
|
Tests just passed. I'm squashing. |
a5c90af to
1eb60cb
Compare
|
Squashed. |
Closes #5290.