[LLVMdev] Behaviour of outs()?

Duncan P. N. Exon Smith dexonsmith at apple.com
Fri Jan 23 11:11:29 PST 2015


> On 2015-Jan-23, at 10:41, mats petersson <mats at planetcatfish.com> wrote:
> 
> I'm fairly sure that whether llvm actually uses `outs` or not, it will
> be constructed and destroyed based on it's existance.

Actually, no it won't.  It's only constructed (and destroyed) if `outs()`
is called.

You can confirm this with toy programs using the same logic.




More information about the llvm-dev mailing list