You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The FreeDefAna in ClosConv throws an error.
In Node::add_fvs, the def is tested to be no memory.
However, this is tested in a situation that shallowly seems correct:
.con f a::[m:%mem.M, ...] = {
...// defined gg(a#0, ...)// ^ error occurs here}
E:dialects/clos/phase/clos_conv.h:49: memory def in free def analysis: _2788985#0:(.Idx 2) : %mem.M
E:dialects/clos/phase/clos_conv.h:50: in nom main
thorin: dialects/clos/phase/clos_conv.h:52: auto thorin::clos::FreeDefAna::Node::add_fvs(const thorin::Def*): Assertion `!match<mem::M>(def->type())' failed.
Edit: There seem to be other problems (⊥:%mem.Ptr, ⊤:%mem.M) that were obscured by the printing.
The text was updated successfully, but these errors were encountered:
The
FreeDefAna
inClosConv
throws an error.In
Node::add_fvs
, the def is tested to be no memory.However, this is tested in a situation that shallowly seems correct:
Reproduction
Branch: https://github.com/NeuralCoder3/thorin2/tree/ad_ptr_merge
Commit: 8a56cf0
File: lit/autodiff/imperativ/arr.thorin
Example call:
./build/bin/thorin -o - -VVVV -d autodiff -d direct -d affine lit/autodiff/imperativ/arr.thorin
Code before error:
Error mesage:
Edit: There seem to be other problems (
⊥:%mem.Ptr
,⊤:%mem.M
) that were obscured by the printing.The text was updated successfully, but these errors were encountered: