stanford-ppl / spatial

Spatial: "Specify Parameterized Accelerators Through Inordinately Abstract Language"
https://spatial.stanford.edu
MIT License
271 stars 33 forks source link

Move some fma fusion logic to the rewrite analyzer instead of rewrite transformer #235

Closed mattfel1 closed 5 years ago

mattfel1 commented 5 years ago

Will just be a little cleaner

mattfel1 commented 5 years ago

Nevermind. The order is RewriteAnalyzer -> AccumAnalyzer -> RewriteTransformer, and the extra logic in the transformer needs info from the AccumAnalyzer.