summaryrefslogtreecommitdiffstats
path: root/llvm/test/tools/llvm-profdata/text-format-errors.test
diff options
context:
space:
mode:
authorNathan Slingerland <slingn@gmail.com>2015-12-15 17:37:09 +0000
committerNathan Slingerland <slingn@gmail.com>2015-12-15 17:37:09 +0000
commit7f5b47ddd46fb5bfc4cff67cb09bbf2d889d45cc (patch)
tree26e5733d95c97634fc29e41af391bc8e67d968b9 /llvm/test/tools/llvm-profdata/text-format-errors.test
parent78fd4f087b0832bdfef1c7db54bc234002e2ff30 (diff)
downloadbcm5719-llvm-7f5b47ddd46fb5bfc4cff67cb09bbf2d889d45cc.tar.gz
bcm5719-llvm-7f5b47ddd46fb5bfc4cff67cb09bbf2d889d45cc.zip
[llvm-profdata] Add support for weighted merge of profile data (2nd try)
Summary: This change adds support for specifying a weight when merging profile data with the llvm-profdata tool. Weights are specified by using the --weighted-input=<weight>,<filename> option. Input files not specified with this option (normal positional list after options) are given a default weight of 1. Adding support for arbitrary weighting of input profile data allows for relative importance to be placed on the input data from multiple training runs. Both sampled and instrumented profiles are supported. Reviewers: davidxl, dnovillo, bogner, silvas Subscribers: silvas, davidxl, llvm-commits Differential Revision: http://reviews.llvm.org/D15306 llvm-svn: 255659
Diffstat (limited to 'llvm/test/tools/llvm-profdata/text-format-errors.test')
-rw-r--r--llvm/test/tools/llvm-profdata/text-format-errors.test2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/tools/llvm-profdata/text-format-errors.test b/llvm/test/tools/llvm-profdata/text-format-errors.test
index b300586d102..05de2e38af1 100644
--- a/llvm/test/tools/llvm-profdata/text-format-errors.test
+++ b/llvm/test/tools/llvm-profdata/text-format-errors.test
@@ -2,7 +2,7 @@ Tests for instrumentation profile bad encoding.
1- Detect invalid count
RUN: not llvm-profdata show %p/Inputs/invalid-count-later.proftext 2>&1 | FileCheck %s --check-prefix=INVALID-COUNT-LATER
-RUN: not llvm-profdata merge %p/Inputs/invalid-count-later.proftext %p/Inputs/invalid-count-later.profdata -o %t.out 2>&1 | FileCheck %s --check-prefix=INVALID-COUNT-LATER
+RUN: not llvm-profdata merge %p/Inputs/invalid-count-later.proftext %p/Inputs/invalid-count-later.proftext -o %t.out 2>&1 | FileCheck %s --check-prefix=INVALID-COUNT-LATER
INVALID-COUNT-LATER: error: {{.*}}invalid-count-later.proftext: Malformed instrumentation profile data
2- Detect bad hash
OpenPOWER on IntegriCloud