aboutsummaryrefslogtreecommitdiff
path: root/lib/Analysis/ThreadSafety.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2012-03-10 00:28:11 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2012-03-10 00:28:11 +0000
commit0069b84c2aa7cc39263e85997b7cb1ed0b132ccd (patch)
tree0a1829e841beb468d9a25fc474a8b9b5b662be56 /lib/Analysis/ThreadSafety.cpp
parent97c1fd651c24638a4989b4e1f8eb2e629c2073d1 (diff)
Assign APValues by swapping from a temporary. Removes a bunch of unnecessary
copy-construction, which Daniel Dunbar reports as giving a 0.75% speedup on 403.gcc/combine.c. The performance differences on my constexpr torture tests are below the noise floor. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@152455 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/ThreadSafety.cpp')
0 files changed, 0 insertions, 0 deletions