summaryrefslogtreecommitdiffstats
path: root/llvm/unittests
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/unittests')
-rw-r--r--llvm/unittests/tools/llvm-exegesis/X86/SnippetGeneratorTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/unittests/tools/llvm-exegesis/X86/SnippetGeneratorTest.cpp b/llvm/unittests/tools/llvm-exegesis/X86/SnippetGeneratorTest.cpp
index f8a7ccd6ebf..77de5e78926 100644
--- a/llvm/unittests/tools/llvm-exegesis/X86/SnippetGeneratorTest.cpp
+++ b/llvm/unittests/tools/llvm-exegesis/X86/SnippetGeneratorTest.cpp
@@ -220,7 +220,7 @@ public:
using BenchmarkRunner::BenchmarkRunner;
Instruction createInstruction(unsigned Opcode) {
- return Instruction(MCInstrInfo.get(Opcode), RATC);
+ return Instruction(State.getInstrInfo().get(Opcode), RATC);
}
private:
OpenPOWER on IntegriCloud