summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenCXX/copy-constructor-elim-2.cpp
Commit message (Collapse)AuthorAgeFilesLines
* CHECK-LABEL-ify some code gen tests to improve diagnostic experience when ↵Stephen Lin2013-08-151-2/+2
| | | | | | tests fail. llvm-svn: 188447
* Restore r184205 and associated commits (after commit of r185290)Stephen Lin2013-06-301-1/+1
| | | | | | This allows clang to use the backend parameter attribute 'returned' when generating 'this'-returning constructors and destructors in ARM and MSVC C++ ABIs. llvm-svn: 185291
* Revert r184205 and associated patches while investigating issue with broken ↵Stephen Lin2013-06-191-1/+1
| | | | | | | | buildbot (possible interaction with LTO) <rdar://problem/14209661> llvm-svn: 184384
* CodeGen: Have 'this'-returning constructors and destructors to take ↵Stephen Lin2013-06-181-1/+1
| | | | | | | | | | advantage of the new backend 'returned' attribute. The backend will now use the generic 'returned' attribute to form tail calls where possible, as well as avoid save-restores of 'this' in some cases (specifically the cases that matter for the ARM C++ ABI). This patch also reverts a prior front-end only partial implementation of these optimizations, since it's no longer required. llvm-svn: 184205
* Provide fixed target triples to make test results consistent across ARM hosts.David Blaikie2012-09-101-2/+2
| | | | | | Patch by David Tweed, review by myself and John McCall. llvm-svn: 163564
* Only make a call to a copy constructor elidable if in fact we areDouglas Gregor2012-03-101-0/+22
| | | | | | doing a copy. Fixes PR12139. llvm-svn: 152485
* clang side to match the LLVM IR type system rewrite patch.Chris Lattner2011-07-091-1/+1
| | | | llvm-svn: 134831
* Whack a bunch of tests in CodeGenCXX to work on ARM (using ARM ABI). Batch ↵Eli Friedman2011-06-141-1/+1
| | | | | | 2 of 3. llvm-svn: 133011
* Whack a bunch of tests in CodeGenCXX to work on ARM (using ARM ABI). Batch ↵Eli Friedman2011-06-131-6/+6
| | | | | | 1 of 3 or so. llvm-svn: 132945
* Move unnamed_addr after the function arguments on Sabre's request.Rafael Espindola2011-01-251-1/+1
| | | | llvm-svn: 124210
* Add unnamed_addr to constructors and destructors.Rafael Espindola2011-01-111-1/+1
| | | | llvm-svn: 123197
* Look through parentheses when deciding whether an expr is a temporary ↵Anders Carlsson2010-11-281-0/+22
| | | | | | object. Fixes PR8683. llvm-svn: 120247
* Do not elide copy construction when we're performing base-class initializationDouglas Gregor2010-08-221-0/+26
| | | | llvm-svn: 111783
* Make copy constructor elimination work in more cases; the case in questionEli Friedman2009-12-241-0/+7
here affects clang-on-clang. llvm-svn: 92151
OpenPOWER on IntegriCloud