[llvm-exegesis][NFC] Remove dead parameter.
authorClement Courbet <courbet@google.com>
Thu, 13 Sep 2018 08:06:29 +0000 (08:06 +0000)
committerClement Courbet <courbet@google.com>
Thu, 13 Sep 2018 08:06:29 +0000 (08:06 +0000)
llvm-svn: 342118

llvm/tools/llvm-exegesis/llvm-exegesis.cpp

index 1465d14..c5e4464 100644 (file)
@@ -121,8 +121,7 @@ getBenchmarkResultContext(const LLVMState &State) {
 
 // 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);