[llvm-exegesis][NFC]Remove dead function parameter
authorClement Courbet <courbet@google.com>
Wed, 12 Sep 2018 09:26:32 +0000 (09:26 +0000)
committerClement Courbet <courbet@google.com>
Wed, 12 Sep 2018 09:26:32 +0000 (09:26 +0000)
llvm-svn: 342035

llvm/tools/llvm-exegesis/lib/BenchmarkRunner.cpp
llvm/tools/llvm-exegesis/lib/BenchmarkRunner.h

index 42fad2f..7fa3926 100644 (file)
@@ -55,7 +55,7 @@ BenchmarkRunner::run(unsigned Opcode, unsigned NumRepetitions) {
 
   std::vector<InstructionBenchmark> InstrBenchmarks;
   for (const BenchmarkCode &Conf : ConfigurationOrError.get())
-    InstrBenchmarks.push_back(runConfiguration(Conf, Opcode, NumRepetitions));
+    InstrBenchmarks.push_back(runConfiguration(Conf, NumRepetitions));
   return InstrBenchmarks;
 }
 
@@ -70,7 +70,7 @@ GenerateInstructions(const BenchmarkCode &BC, const int MinInstructions) {
 }
 
 InstructionBenchmark
-BenchmarkRunner::runConfiguration(const BenchmarkCode &BC, unsigned Opcode,
+BenchmarkRunner::runConfiguration(const BenchmarkCode &BC,
                                   unsigned NumRepetitions) const {
   InstructionBenchmark InstrBenchmark;
   InstrBenchmark.Mode = Mode;
index fcf89f8..5d7ea25 100644 (file)
@@ -108,7 +108,6 @@ private:
 
   // Internal helpers.
   InstructionBenchmark runConfiguration(const BenchmarkCode &Configuration,
-                                        unsigned Opcode,
                                         unsigned NumRepetitions) const;
 
   // Calls generateCodeTemplate and expands it into one or more BenchmarkCode.