Is it possible to customize optimizations to be run in the optimizer? I have very specific backend, that actually needs only few optimizations. But I can’t figure out how to customize it, PassBuilder has no virtual methods, so I can’t just override it and make my own pipeline.
Also, is it correct that there are no options to disable specific optimizations? In previous projects I worked with, we always have disable option for every optimization. I wonder why LLVM doesn’t have it.