diff options
author | Piotr Padlewski <prazek@google.com> | 2015-08-27 21:35:37 +0000 |
---|---|---|
committer | Piotr Padlewski <prazek@google.com> | 2015-08-27 21:35:37 +0000 |
commit | 525f746710c9b132b20b653d5d8bd130e9bd5e59 (patch) | |
tree | 69b1380002662a8ffe256f6f99e0ef23bc215524 /clang/test/CodeGenCXX/virtual-base-ctor.cpp | |
parent | 5f9d310640209347c6e534a4ed97074d205e1766 (diff) | |
download | bcm5719-llvm-525f746710c9b132b20b653d5d8bd130e9bd5e59.tar.gz bcm5719-llvm-525f746710c9b132b20b653d5d8bd130e9bd5e59.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: 246213
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; |