On Fri, Feb 17, 2012 at 12:54 AM, Chris Lattner <[email protected]> wrote:

> On Feb 16, 2012, at 11:31 PM, Richard Smith wrote:
>  > Author: rsmith
> > Date: Fri Feb 17 01:31:37 2012
> > New Revision: 150798
> >
> > URL: http://llvm.org/viewvc/llvm-project?rev=150798&view=rev
> > Log:
> > The clang half of r150794: after the construction of a global or static
> const
> > variable ends, if the variable has a trivial destructor and no mutable
> > subobjects then emit an llvm.invariant.start call for it. globalopt
> knows to
> > make the variable const when evaluating this.
>
> Hi Richard,
>
> We should only emit metadata like this when optimizations are enabled, not
> at -O0.
>

OK, r150838. Thanks!
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to