willow-ahrens / Finch.jl

Sparse tensors in Julia and more! Datastructure-driven array programing language.
http://willowahrens.io/Finch.jl/
MIT License
151 stars 12 forks source link

Dead code elimination does not work on macros generated by Finch #582

Closed willow-ahrens closed 3 weeks ago

willow-ahrens commented 1 month ago

Using e.g. @inbounds during finch lowering can produce incorrect output. We may need to come up with an acceptable set of macros to use, or expand macros before postprocessing.