summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2010-05-15 00:13:29 +0000
committerDouglas Gregor <dgregor@apple.com>2010-05-15 00:13:29 +0000
commit222cf0efbc174528022b6d51300247ae170a8b6d (patch)
treed15badb9890db68a222bb3bc0f9b8cba2853d19e /llvm/lib/CodeGen
parent36d4d1541c49843e062a5c64d2fd65b9e9b98ac7 (diff)
downloadbcm5719-llvm-222cf0efbc174528022b6d51300247ae170a8b6d.tar.gz
bcm5719-llvm-222cf0efbc174528022b6d51300247ae170a8b6d.zip
Recognize when the named return value optimization applies in a
"return" statement and mark the corresponding CXXConstructExpr as elidable. Teach CodeGen that eliding a temporary is different from eliding an object construction. This is just a baby step toward NRVO. llvm-svn: 103849
Diffstat (limited to 'llvm/lib/CodeGen')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud