summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenCXX/skip-vtable-pointer-initialization.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Cast vtable address points to i32 (...)** to enable more globaloptReid Kleckner2014-12-031-8/+8
| | | | | | | | | | | | We currently use i32 (...)** as the type of the vptr field in the LLVM struct type. LLVM's GlobalOpt prefers any bitcasts to be on the side of the data being stored rather than on the pointer being stored to. Reviewers: majnemer Differential Revision: http://reviews.llvm.org/D5916 llvm-svn: 223267
* CHECK-LABEL-ify some code gen tests to improve diagnostic experience when ↵Stephen Lin2013-08-151-8/+8
| | | | | | tests fail. llvm-svn: 188447
* Fix another regression from the "skip vtable pointer initialization"Anders Carlsson2011-05-161-0/+14
| | | | | | | optimization. Make sure to require a vtable when trying to get the address of a VTT, otherwise we would never end up emitting the VTT. llvm-svn: 131400
* Re-enable the fix for PR9181 now that all the edge cases are handled.Anders Carlsson2011-05-151-2/+81
| | | | llvm-svn: 131385
* Disable the optimization until the bug noticed by Sean Hunt has been fixed.Anders Carlsson2011-05-151-0/+1
| | | | llvm-svn: 131372
* When emitting the destructor for a class with a vtable, if we can determineAnders Carlsson2011-05-141-0/+106
that the destructor body is trivial and that all member variables also have either trivial destructors or trivial destructor bodies, we don't need to initialize the vtable pointers since no virtual member functions will be called on the destructor. Fixes PR9181. llvm-svn: 131368
OpenPOWER on IntegriCloud