]> granicus.if.org Git - clang/commit
Generating assumption loads of vptr after ctor call (fixed)
authorPiotr Padlewski <prazek@google.com>
Fri, 21 Aug 2015 18:28:00 +0000 (18:28 +0000)
committerPiotr Padlewski <prazek@google.com>
Fri, 21 Aug 2015 18:28:00 +0000 (18:28 +0000)
commit552658e2b60543c928030b09cc9b5dfcb40c3f28
treec8ca52d07b38da7b130422707d9143b747001f7d
parentc5c164154328f56796916ea6828ab15811ebac97
Generating assumption loads of vptr after ctor call (fixed)

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

Edit:
Fixed version because of PR24479.

http://reviews.llvm.org/D11859

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@245721 91177308-0d34-0410-b5e6-96231b3b80d8
13 files changed:
lib/CodeGen/CGCXXABI.h
lib/CodeGen/CGCall.cpp
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