summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenCXX/stack-reuse-miscompile.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Revert "[CodeGenCXX] Treat 'this' as noalias in constructors"Sean Fertile2018-10-151-2/+2
| | | | | | | This reverts commit https://reviews.llvm.org/rL344150 which causes MachineOutliner related failures on the ppc64le multistage buildbot. llvm-svn: 344526
* [CodeGenCXX] Treat 'this' as noalias in constructorsAnton Bikineev2018-10-101-2/+2
| | | | | | | | | This is currently a clang extension and a resolution of the defect report in the C++ Standard. Differential Revision: https://reviews.llvm.org/D46441 llvm-svn: 344150
* Add missing temporary materialization conversion on left-hand side of .Richard Smith2018-07-271-9/+27
| | | | | | | | | in some member function calls. Specifically, when calling a conversion function, we would fail to create the AST node representing materialization of the class object. llvm-svn: 338135
* Make '-disable-llvm-optzns' an alias for '-disable-llvm-passes'.Chandler Carruth2016-12-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | Much to my surprise, '-disable-llvm-optzns' which I thought was the magical flag I wanted to get at the raw LLVM IR coming out of Clang deosn't do that. It still runs some passes over the IR. I don't want that, I really want the *raw* IR coming out of Clang and I strongly suspect everyone else using it is in the same camp. There is actually a flag that does what I want that I didn't know about called '-disable-llvm-passes'. I suspect many others don't know about it either. It both does what I want and is much simpler. This removes the confusing version and makes that spelling of the flag an alias for '-disable-llvm-passes'. I've also moved everything in Clang to use the 'passes' spelling as it seems both more accurate (*all* LLVM passes are disabled, not just optimizations) and much easier to remember and spell correctly. This is part of simplifying how Clang drives LLVM to make it cleaner to wire up to the new pass manager. Differential Revision: https://reviews.llvm.org/D28047 llvm-svn: 290392
* Make a test use a specific C++ dialectPaul Robinson2016-12-201-1/+1
| | | | | | | | | | In stack-reuse-miscompile.cpp, the allocas for the temps come out in a different order depending on whether the dialect is C++03 or C++11. Specify C++03 explicitly to avoid depending on the default. Differential Revision: http://reviews.llvm.org/D27956 llvm-svn: 290208
* Undo accidental comitPaul Robinson2016-12-191-1/+1
| | | | llvm-svn: 290121
* Make a few OpenMP tests "C++11 clean."Paul Robinson2016-12-191-1/+1
| | | | | | Reviewed by abataev (in D27794) llvm-svn: 290120
* Update test with target flag and amended resultsLeny Kholodov2015-06-081-10/+7
| | | | llvm-svn: 239298
* Fix for temporary variable names in stack reuse tests in revision 239294Leny Kholodov2015-06-081-9/+9
| | | | llvm-svn: 239296
* [CodeGen] Reuse stack space from unused function results (with more accurate ↵Leny Kholodov2015-06-081-0/+39
unused result detection) This patch fixes issues with unused result detection which were found in patch http://reviews.llvm.org/D9743. Differential Revision: http://reviews.llvm.org/D10042 llvm-svn: 239294
OpenPOWER on IntegriCloud