[LLVMdev] Strange LLVM Crash
Eric Christopher
echristo at apple.com
Sun Mar 15 00:51:26 PDT 2009
On Mar 14, 2009, at 5:47 PM, Nyx wrote:
> By the way, is there any way to have the pass managers run its
> passes on a
> single function, instead of a whole module?
Yes, and this is what I'd suggest since it's quite a bit faster.
Basically you'd use a function pass manager there are some passes
which are function only and then get pointer to function as normal.
-eric
More information about the llvm-dev
mailing list