llvmlite
llvmlite copied to clipboard
Create phase-aware pass manager API
The passmanager objects allow adding passes after initialization is completed resulting in mysterious failures or no effect. The passmanager objects in Python should be aware of what state they are in an issue exceptions if passes are added after initialization and enforce the correct order of operations (initialization/run/finalize)