[LLVMdev] Preserving ProfileInfo in several Passes

Dan Gohman gohman at apple.com
Mon Dec 7 08:47:40 PST 2009

On Dec 7, 2009, at 1:00 AM, Andreas Neustifter wrote:

> Hi!
> On 12/03/2009 07:50 PM, Dan Gohman wrote:
>> Hello,
>> Here are a few misc. comments on this patch.
>> Would it make sense to mark the ProfileInfo passes as "CFGOnly?"
>> If so, that would let them be automatically preserved by passes
>> which don't modify the CFG (and that call AU.setPreservesCFG()).
> Yes, it would, how do I do this? :-)

It's one of the arguments to the RegisterPass constructor.


More information about the llvm-dev mailing list