diff options
author | Peter Collingbourne <peter@pcc.me.uk> | 2017-02-13 19:26:18 +0000 |
---|---|---|
committer | Peter Collingbourne <peter@pcc.me.uk> | 2017-02-13 19:26:18 +0000 |
commit | 2b33f65317aa8f4145432f902c12d5a127bcbffe (patch) | |
tree | 53d2475025592b2340fa71a68213b4e20ab15546 /llvm/test/Transforms/WholeProgramDevirt/export-nothing.ll | |
parent | 7bed48e7a3fda0eb04875d1fc05a4db516f26b5c (diff) | |
download | bcm5719-llvm-2b33f65317aa8f4145432f902c12d5a127bcbffe.tar.gz bcm5719-llvm-2b33f65317aa8f4145432f902c12d5a127bcbffe.zip |
IR: Type ID summary extensions for WPD; thread summary into WPD pass.
Make the whole thing testable by adding YAML I/O support for the WPD
summary information and adding some negative tests that exercise the
YAML support.
Differential Revision: https://reviews.llvm.org/D29782
llvm-svn: 294981
Diffstat (limited to 'llvm/test/Transforms/WholeProgramDevirt/export-nothing.ll')
-rw-r--r-- | llvm/test/Transforms/WholeProgramDevirt/export-nothing.ll | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/llvm/test/Transforms/WholeProgramDevirt/export-nothing.ll b/llvm/test/Transforms/WholeProgramDevirt/export-nothing.ll new file mode 100644 index 00000000000..e0814efbf9c --- /dev/null +++ b/llvm/test/Transforms/WholeProgramDevirt/export-nothing.ll @@ -0,0 +1,7 @@ +; RUN: opt -wholeprogramdevirt -wholeprogramdevirt-summary-action=export -wholeprogramdevirt-write-summary=%t -o /dev/null %s +; RUN: FileCheck %s < %t + +; CHECK: --- +; CHECK-NEXT: GlobalValueMap: +; CHECK-NEXT: TypeIdMap: +; CHECK-NEXT: ... |