Skip to content
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

Make sure clashSimulation is False in HDL even with -O2 (copy #2737) #2746

Merged
merged 2 commits into from
Jun 30, 2024

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented Jun 30, 2024

Fixes #2736
Also found that the test for #1796 was broken.

Still TODO:

  • Write a changelog entry (see changelog/README.md)
  • Check copyright notices are up to date in edited files

This is an automatic copy of pull request #2737 done by [Mergify](https://mergify.com).

Something probably changed since it was introduced.
It would prefer to read the source instead of the precompiled module and always succeed, even with the original fix reverted.

(cherry picked from commit a40ff92)
The SpecConstr pass in GHC is able to poke through the OPAQUE of
clashSimulation.
Adding a noinline seems to block it from seeing the True inside.

Fixes #2736

(cherry picked from commit 68fb3da)
@martijnbastiaan martijnbastiaan merged commit a37ccb4 into 1.8 Jun 30, 2024
15 checks passed
@martijnbastiaan martijnbastiaan deleted the mergify/copy/1.8/pr-2737 branch June 30, 2024 10:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants