File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
llvm/unittests/tools/llvm-exegesis/X86 Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -43,11 +43,11 @@ class X86SnippetRepetitorTest : public ::testing::Test {
43
43
void SetUp () {
44
44
TM = State.createTargetMachine ();
45
45
Context = std::make_unique<LLVMContext>();
46
- Module =
47
- std::make_unique<llvm:: Module>(" X86SnippetRepetitorTest" , *Context);
48
- Module ->setDataLayout (TM->createDataLayout ());
46
+ Mod =
47
+ std::make_unique<Module>(" X86SnippetRepetitorTest" , *Context);
48
+ Mod ->setDataLayout (TM->createDataLayout ());
49
49
MMI = std::make_unique<MachineModuleInfo>(TM.get ());
50
- MF = &createVoidVoidPtrMachineFunction (" TestFn" , Module .get (), MMI.get ());
50
+ MF = &createVoidVoidPtrMachineFunction (" TestFn" , Mod .get (), MMI.get ());
51
51
}
52
52
53
53
void TestCommon (InstructionBenchmark::RepetitionModeE RepetitionMode) {
@@ -61,9 +61,9 @@ class X86SnippetRepetitorTest : public ::testing::Test {
61
61
static constexpr const unsigned kMinInstructions = 3 ;
62
62
63
63
const LLVMState State;
64
- std::unique_ptr<llvm:: LLVMTargetMachine> TM;
64
+ std::unique_ptr<LLVMTargetMachine> TM;
65
65
std::unique_ptr<LLVMContext> Context;
66
- std::unique_ptr<Module> Module ;
66
+ std::unique_ptr<Module> Mod ;
67
67
std::unique_ptr<MachineModuleInfo> MMI;
68
68
MachineFunction *MF = nullptr ;
69
69
};
You can’t perform that action at this time.
0 commit comments