[LLVMdev] Getting target machine specific information at run-time
David Greene
dag at cray.com
Wed Oct 8 14:33:59 PDT 2008
On Wednesday 08 October 2008 04:34, Roman Levenstein wrote:
> This solved my problem! Thanks!
> It was not obvious that the MachineFunctionPass objects are created only
> once per module. Therefore didn't use this trick right from the beginning.
> BTW, is it described anywhere in the docs that MachineFunctionPass objects
> are created only once per module and not for each function? Is it also
> guaranteed or a property of the current PassManager implementation?
I don't think it's written anywhere but I asked on the list and Devang
indicated that this is the case.
-Dave
More information about the llvm-dev
mailing list