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

Default and configurable target machine definition #12

Open troelsfr opened 2 years ago

troelsfr commented 2 years ago

Currently, QAT uses whatever default machine is set by the LLVM code. This is likely to be the machine triple from the machine on which QAT is running rather than the target hardware. To fix this, we should have the possibility of setting the target machine from the command line.

troelsfr commented 2 years ago

@bettinaheim we currently have a placeholder in the code to address this. Do you have any thoughts on how we should proceed?