diff options
Diffstat (limited to 'llvm/tools/llvm-exegesis/lib/X86/Target.cpp')
| -rw-r--r-- | llvm/tools/llvm-exegesis/lib/X86/Target.cpp | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/llvm/tools/llvm-exegesis/lib/X86/Target.cpp b/llvm/tools/llvm-exegesis/lib/X86/Target.cpp index ce66610891d..1532af8ddec 100644 --- a/llvm/tools/llvm-exegesis/lib/X86/Target.cpp +++ b/llvm/tools/llvm-exegesis/lib/X86/Target.cpp @@ -462,14 +462,16 @@ private: sizeof(kUnavailableRegisters[0])); } - std::unique_ptr<SnippetGenerator> - createLatencySnippetGenerator(const LLVMState &State) const override { - return std::make_unique<X86LatencySnippetGenerator>(State); + std::unique_ptr<SnippetGenerator> createLatencySnippetGenerator( + const LLVMState &State, + const SnippetGenerator::Options &Opts) const override { + return std::make_unique<X86LatencySnippetGenerator>(State, Opts); } - std::unique_ptr<SnippetGenerator> - createUopsSnippetGenerator(const LLVMState &State) const override { - return std::make_unique<X86UopsSnippetGenerator>(State); + std::unique_ptr<SnippetGenerator> createUopsSnippetGenerator( + const LLVMState &State, + const SnippetGenerator::Options &Opts) const override { + return std::make_unique<X86UopsSnippetGenerator>(State, Opts); } bool matchesArch(llvm::Triple::ArchType Arch) const override { |

