tlc-pack / relax

Apache License 2.0
193 stars 58 forks source link

[Fix][Pass] TIR op pattern kind analysis with int var in signature #399

Closed MasterJH5574 closed 1 year ago

MasterJH5574 commented 1 year ago

This PR fixes a bug in TIR pattern kind analyzer.

Previously the analyzer requires the input TIR function signature not to have any symbolic var other than Buffer var. This behavior will throw exception whenever the input TIR function signature contains integer var or other var, while the expected behavior is to ignore these vars instead of throwing error. This PR fixes this issue.