diff options
| author | Piotr Padlewski <prazek@google.com> | 2015-09-15 00:37:06 +0000 |
|---|---|---|
| committer | Piotr Padlewski <prazek@google.com> | 2015-09-15 00:37:06 +0000 |
| commit | d679d7e924380e07999345b5a9d6b129d9f556b1 (patch) | |
| tree | f70771f87e8d5d4303a2886a8883423d65245501 /clang/test/CodeGenCXX/virtual-base-ctor.cpp | |
| parent | c48f78ca5a04a63b73a70b40df0aca1ffa2fcc32 (diff) | |
| download | bcm5719-llvm-d679d7e924380e07999345b5a9d6b129d9f556b1.tar.gz bcm5719-llvm-d679d7e924380e07999345b5a9d6b129d9f556b1.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 and other bug caused in chrome.
After this patch got reverted because of ScalarEvolution bug (D12719)
Merged after John McCall big patch (Added Address).
http://reviews.llvm.org/D11859
http://reviews.llvm.org/D12865
llvm-svn: 247646
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; |

