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

Uni import fails with mediabench function - Non exhaustive pattern in "fromSingleton" #54

Open
romits800 opened this issue Jan 19, 2021 · 1 comment

Comments

@romits800
Copy link
Contributor

Uni import fails when fromSingleton does not take as input a singleton, but rather a larger array.

uni import --target=Mips pgp.language.readstr.mir -o pgp.language.readstr.uni --function=readstr --maxblocksize=50  --goal=speed 

Results in:

uni: src/Common/Util.hs:90:1-21: Non-exhaustive patterns in function fromSingleton

pgp.language.readstr.tar.gz

@romits800
Copy link
Contributor Author

The problems seems to be at the repairCSSA pass.

@romits800 romits800 changed the title Uni import fails with mediabench function. Uni import fails with mediabench function - Non exhaustive pattern in "fromSingleton" Sep 6, 2021
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

No branches or pull requests

1 participant