diff options
author | Piotr Padlewski <prazek@google.com> | 2015-08-18 03:52:00 +0000 |
---|---|---|
committer | Piotr Padlewski <prazek@google.com> | 2015-08-18 03:52:00 +0000 |
commit | bc7497abbb2f2b8757dbe992411c3301011f9a1d (patch) | |
tree | 523c0cf1cb27f9c6c1fecd5ad7c95775c5eb7955 /clang/test/CodeGenCXX/virtual-base-ctor.cpp | |
parent | d457df8008db1247a5584e93169fe5f8d30306a5 (diff) | |
download | bcm5719-llvm-bc7497abbb2f2b8757dbe992411c3301011f9a1d.tar.gz bcm5719-llvm-bc7497abbb2f2b8757dbe992411c3301011f9a1d.zip |
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
llvm-svn: 245264
Diffstat (limited to 'clang/test/CodeGenCXX/virtual-base-ctor.cpp')
-rw-r--r-- | clang/test/CodeGenCXX/virtual-base-ctor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/CodeGenCXX/virtual-base-ctor.cpp b/clang/test/CodeGenCXX/virtual-base-ctor.cpp index 8c28965c5c2..20a88cd3710 100644 --- a/clang/test/CodeGenCXX/virtual-base-ctor.cpp +++ b/clang/test/CodeGenCXX/virtual-base-ctor.cpp @@ -1,4 +1,4 @@ -// RUN: %clang_cc1 %s -emit-llvm -triple %itanium_abi_triple -o - -O2 | FileCheck %s +// RUN: %clang_cc1 %s -emit-llvm -triple %itanium_abi_triple -o - -O2 | opt - -S -globalopt -o - | FileCheck %s struct B; extern B x; |