summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenCXX/init-invariant.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [Clang] Disable new PM for tests that use optimization level -O1, -O2 and -O3Petr Hosek2019-06-051-1/+1
| | | | | | | | | | Tests that use -O1, -O2 and -O3 would often produce different results with the new pass manager which makes these tests fail. Disable new PM explicitly for these tests. Differential Revision: https://reviews.llvm.org/D58375 llvm-svn: 362580
* Revert "[CodeGenCXX] Treat 'this' as noalias in constructors"Sean Fertile2018-10-151-4/+4
| | | | | | | 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-4/+4
| | | | | | | | | 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
* Clang changes for overloading invariant.start and end intrinsicsAnna Thomas2016-07-221-7/+7
| | | | | | | | | | | | | | | | | | | | This change depends on the corresponding LLVM change at: https://reviews.llvm.org/D22519 The llvm.invariant.start and llvm.invariant.end intrinsics currently support specifying invariant memory objects only in the default address space. With this LLVM change, these intrinsics are overloaded for any adddress space for memory objects and we can use these llvm invariant intrinsics in non-default address spaces. Example: llvm.invariant.start.p1i8(i64 4, i8 addrspace(1)* %ptr) This overloaded intrinsic is needed for representing final or invariant memory in managed languages. llvm-svn: 276448
* Fix two tests relying on LLVM -O1 behaviorReid Kleckner2016-02-111-1/+1
| | | | | | Something changed the inference of nonnull. llvm-svn: 260472
* Rebase tests after LLVM r247707.Nico Weber2015-09-151-1/+1
| | | | llvm-svn: 247712
* Adjust clang side tests effected by 239795 before reapplying said changePhilip Reames2015-06-161-4/+4
| | | | llvm-svn: 239848
* Don't pass -O0 to clang_cc1, it is the default.Rafael Espindola2013-09-041-1/+1
| | | | llvm-svn: 189910
* CHECK-LABEL-ify some code gen tests to improve diagnostic experience when ↵Stephen Lin2013-08-151-1/+1
| | | | | | tests fail. llvm-svn: 188447
* Emit the exact size for the invariant intrinsics.Nick Lewycky2012-02-211-5/+5
| | | | llvm-svn: 151010
* Don't emit optimization-specific intrinsic at -O0.Richard Smith2012-02-171-10/+10
| | | | llvm-svn: 150838
* The clang half of r150794: after the construction of a global or static constRichard Smith2012-02-171-0/+60
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
OpenPOWER on IntegriCloud