qir-alliance / qat

QIR compiler tools and optimization passes for targeting QIR to different hardware backends
https://qir-alliance.github.io/qat/
MIT License
26 stars 14 forks source link

Introduce error logger in transformation rule pass #20

Closed troelsfr closed 1 year ago

troelsfr commented 2 years ago

Currently, receptions are thrown. This should be changed by introducing the error logger into the structure.

troelsfr commented 1 year ago

Transformation pass uses the logger where sensible and throw runtime errors where genuine runtime errors are encountered.