-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
optimization exhibits non-deterministic behavior #143
Comments
Yes. this is super annoying. Another source is this: world.app(emit1(), emit2()); It's implementation defined whether I have implemented the |
The issue happens only sometimes on with the same executable on the same computer in the same cirumstances. Probably related issue:
which seems odd to me as the arguments are of the style
which should be the type
which should agree with lea. |
Was fighting this issue in #184 as a Debug build produced different outputs as the Release one
As mentioned above |
While #185 fixes part of this problem, there are still some odd things happening and we need a test case to test for this. |
Sometimes, the behavior of the optimization pipeline seems to be non-deterministic.
Example:
./build/bin/thorin -d mem -o - lit/mem/no_mem.thorin -VVVV
in
https://github.com/NeuralCoder3/thorin2/tree/ad_ptr_merge
702d848
The issue might be due to the add_mem optimization, the pipeline builder, or an underlying bug in thorin.
This behavior might also be a side effect of the previous (not merged yet) changes to mem and clos conv with long-reaching impact that did not manifest up to now.
The text was updated successfully, but these errors were encountered: