aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGExprAgg.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2012-02-17 07:31:37 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2012-02-17 07:31:37 +0000
commitabb943284cabd9131586c2758a4f02baba668ace (patch)
tree42efe3c363a750781cc565152093a39f80b99b1f /lib/CodeGen/CGExprAgg.cpp
parent1e009d594325390eda1e3c89e4930b30d8b828dc (diff)
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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@150798 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExprAgg.cpp')
0 files changed, 0 insertions, 0 deletions