You're using a FunctionPassManager on the whole module? Don't think that's right.
I think that's just confused due to the legacy -> new pass manager move. PassManager in LegacyPassManager.h is the relevant class.
-
-
This area of LLVM is so woefully underdocumented, despite being what lots of external projects are most going to be exposed to.
-
Anyway, what works in my code is using an FPM filled with populateFunctionPassManager, and a PassManager (note no Module prefix) with populateModulePassManager.https://github.com/postgres/postgres/blob/master/src/backend/jit/llvm/llvmjit.c#L452 …
- 3 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.