Skip to content

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

Open

Description

@romits800

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

Activity

  1. romits800 commented on Jan 19, 2021

    @romits800
    ContributorAuthor

    The problems seems to be at the repairCSSA pass.

  2. changed the title [-]Uni import fails with mediabench function.[/-] [+]Uni import fails with mediabench function - Non exhaustive pattern in "fromSingleton"[/+] on Sep 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions