Lorenzo Laneve via llvm-dev
2016-Mar-24 23:47 UTC
[llvm-dev] Adding PassInfo to PassRegistry
How do i create PassInfo for a Pass and then register it on the PassRegistry? I need to add TargetLibraryInfoWrapperPass to the registry, because addImmutablePass() function asserts because it doesn't find Info for the pass.