[llvm] r342118 - [llvm-exegesis][NFC] Remove dead parameter.
Clement Courbet via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 13 01:06:29 PDT 2018
Author: courbet
Date: Thu Sep 13 01:06:29 2018
New Revision: 342118
URL: http://llvm.org/viewvc/llvm-project?rev=342118&view=rev
Log:
[llvm-exegesis][NFC] Remove dead parameter.
Modified:
llvm/trunk/tools/llvm-exegesis/llvm-exegesis.cpp
Modified: llvm/trunk/tools/llvm-exegesis/llvm-exegesis.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-exegesis/llvm-exegesis.cpp?rev=342118&r1=342117&r2=342118&view=diff
==============================================================================
--- llvm/trunk/tools/llvm-exegesis/llvm-exegesis.cpp (original)
+++ llvm/trunk/tools/llvm-exegesis/llvm-exegesis.cpp Thu Sep 13 01:06:29 2018
@@ -121,8 +121,7 @@ getBenchmarkResultContext(const LLVMStat
// Generates code snippets for opcode `Opcode`.
llvm::Expected<std::vector<BenchmarkCode>>
-generateSnippets(const LLVMState &State, unsigned Opcode,
- unsigned NumRepetitions) {
+generateSnippets(const LLVMState &State, unsigned Opcode) {
const std::unique_ptr<SnippetGenerator> Generator =
State.getExegesisTarget().createSnippetGenerator(BenchmarkMode, State);
if (!Generator) {
@@ -166,7 +165,7 @@ void benchmarkMain() {
// FIXME: Allow arbitrary code.
const std::vector<BenchmarkCode> Configurations =
- ExitOnErr(generateSnippets(State, Opcode, NumRepetitions));
+ ExitOnErr(generateSnippets(State, Opcode));
const std::unique_ptr<BenchmarkRunner> Runner =
State.getExegesisTarget().createBenchmarkRunner(BenchmarkMode, State);
More information about the llvm-commits
mailing list