diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2012-02-17 07:31:37 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2012-02-17 07:31:37 +0000 |
commit | 08a51446213bb26cb0eaaefeb91d4e0c23084759 (patch) | |
tree | 1fd2cb3dc0b5aa58ef12496f7b859233db934de6 /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp | |
parent | 2939e6e136a6a7b26367dd43cd3a858054228a4e (diff) | |
download | llvm-08a51446213bb26cb0eaaefeb91d4e0c23084759.zip llvm-08a51446213bb26cb0eaaefeb91d4e0c23084759.tar.gz llvm-08a51446213bb26cb0eaaefeb91d4e0c23084759.tar.bz2 |
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
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions