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

Reshape phase messes up types #208

Open
leissa opened this issue Apr 26, 2023 · 0 comments
Open

Reshape phase messes up types #208

leissa opened this issue Apr 26, 2023 · 0 comments

Comments

@leissa
Copy link
Member

leissa commented Apr 26, 2023

Branch: feature/fun
Repository: [email protected]:AnyDSL/thorin2.git

Call: ./build/bin/thorin lit/clos/malloc.thorin.disabled -o - -p clos

<unknown location>: error: cannot pass argument 
'(_61485#0:(.Idx 2), _61593, f_reshape_62035)' of type 
'[%mem.M, %mem.Ptr (.Cn [[%mem.M, .Idx 4294967296], .Cn [%mem.M, .Idx 4294967296]], 0), .Cn [%mem.M, .Idx 4294967296, .Cn [%mem.M, .Idx 4294967296]]]' to 
'%mem.store (.Cn [[%mem.M, .Idx 4294967296], .Cn [%mem.M, .Idx 4294967296]], 0)' of domain 
'[%mem.M, %mem.Ptr (.Cn [[%mem.M, .Idx 4294967296], .Cn [%mem.M, .Idx 4294967296]], 0), .Cn [[%mem.M, .Idx 4294967296], .Cn [%mem.M, .Idx 4294967296]]]'

Eliding -p clos works. Fiddling around with verbose output points the finger to the reshape pass.

@leissa leissa mentioned this issue May 9, 2023
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