tlc-pack / relax

Apache License 2.0
193 stars 58 forks source link

[bugfix] Lower `shape_of` to a builtin #439

Closed slyubomirsky closed 1 year ago

slyubomirsky commented 1 year ago

Attempting to compile and run the shape_of operator previously failed due to the fact that the codegen did not lower it to vm.builtin.shape_of. This was an oversight in the VM code generation. This PR ensures that the VM codegen correctly lowers shape_of to the builtin.

tqchen commented 1 year ago

This PR needs to be send to unity #453