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

Add asserts for branch elimination #21

Open troelsfr opened 2 years ago

troelsfr commented 2 years ago

There is a possibility for errors when eliminating branch blocks in case there is an order mismatch. Add asserts to ensure this is tested for.