summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-exegesis/lib/Latency.cpp
diff options
context:
space:
mode:
authorClement Courbet <courbet@google.com>2019-09-30 13:53:50 +0000
committerClement Courbet <courbet@google.com>2019-09-30 13:53:50 +0000
commit03a3d29541d8652b30e96eee9fa139c234bb7b60 (patch)
treed4ebecdf5ce8febf8fff74cc85ef94cc6b6f3561 /llvm/tools/llvm-exegesis/lib/Latency.cpp
parent6f23a68a84c0cb25bd3009758f62367fd475ed24 (diff)
downloadbcm5719-llvm-03a3d29541d8652b30e96eee9fa139c234bb7b60.tar.gz
bcm5719-llvm-03a3d29541d8652b30e96eee9fa139c234bb7b60.zip
[llvm-exegesis][NFC] Move BenchmarkFailure to own file.
Summary: And rename to exegesis::Failure, as it's used everytwhere. Reviewers: gchatelet Subscribers: tschuett, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D68217 llvm-svn: 373209
Diffstat (limited to 'llvm/tools/llvm-exegesis/lib/Latency.cpp')
-rw-r--r--llvm/tools/llvm-exegesis/lib/Latency.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/tools/llvm-exegesis/lib/Latency.cpp b/llvm/tools/llvm-exegesis/lib/Latency.cpp
index 112d3acb5c8..87c895e4ab6 100644
--- a/llvm/tools/llvm-exegesis/lib/Latency.cpp
+++ b/llvm/tools/llvm-exegesis/lib/Latency.cpp
@@ -164,7 +164,7 @@ LatencySnippetGenerator::generateCodeTemplates(
break;
}
if (Results.empty())
- return llvm::make_error<BenchmarkFailure>(
+ return make_error<Failure>(
"No strategy found to make the execution serial");
return std::move(Results);
}
OpenPOWER on IntegriCloud