]> granicus.if.org Git - clang/commit
Generating assumption loads of vptr after ctor call
authorPiotr Padlewski <prazek@google.com>
Mon, 17 Aug 2015 23:33:49 +0000 (23:33 +0000)
committerPiotr Padlewski <prazek@google.com>
Mon, 17 Aug 2015 23:33:49 +0000 (23:33 +0000)
commit3d2de530b3a1e8bc0d24b1e354507bf222b04d92
tree00ebc32d70dec18fa686f86df6fea13d91afac18
parent66a4b6a202b4afa3738c43dfa8795fc8d617a730
Generating assumption loads of vptr after ctor call

Generating call assume(icmp %vtable, %global_vtable) after constructor
call for devirtualization purposes.

For more info go to:
http://lists.llvm.org/pipermail/cfe-dev/2015-July/044227.html

http://reviews.llvm.org/D11859

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@245257 91177308-0d34-0410-b5e6-96231b3b80d8
12 files changed:
lib/CodeGen/CGCXXABI.h
lib/CodeGen/CGClass.cpp
lib/CodeGen/CodeGenFunction.h
lib/CodeGen/ItaniumCXXABI.cpp
lib/CodeGen/MicrosoftCXXABI.cpp
test/CodeGen/available-externally-hidden.cpp
test/CodeGenCXX/ctor-globalopt.cpp
test/CodeGenCXX/template-instantiation.cpp
test/CodeGenCXX/thunks.cpp
test/CodeGenCXX/virtual-base-ctor.cpp
test/CodeGenCXX/vtable-assume-load.cpp [new file with mode: 0644]
test/CodeGenCXX/vtable-available-externally.cpp