Skip to content
Commit 08a51446 authored by Richard Smith's avatar Richard Smith
Browse files

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.

llvm-svn: 150798
parent 2939e6e1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment