@@ -102,8 +102,8 @@ class GISelMITest : public ::testing::Test {
102102protected:
103103 GISelMITest () : ::testing::Test() {}
104104
105- // / Prepare a target specific LLVMTargetMachine .
106- virtual std::unique_ptr<LLVMTargetMachine > createTargetMachine () const = 0;
105+ // / Prepare a target specific TargetMachine .
106+ virtual std::unique_ptr<TargetMachine > createTargetMachine () const = 0;
107107
108108 // / Get the stub sample MIR test function.
109109 virtual void getTargetTestModuleString (SmallString<512 > &S,
@@ -127,7 +127,7 @@ class GISelMITest : public ::testing::Test {
127127 }
128128
129129 LLVMContext Context;
130- std::unique_ptr<LLVMTargetMachine > TM;
130+ std::unique_ptr<TargetMachine > TM;
131131 MachineFunction *MF;
132132 std::pair<std::unique_ptr<Module>, std::unique_ptr<MachineModuleInfo>>
133133 ModuleMMIPair;
@@ -138,13 +138,13 @@ class GISelMITest : public ::testing::Test {
138138};
139139
140140class AArch64GISelMITest : public GISelMITest {
141- std::unique_ptr<LLVMTargetMachine > createTargetMachine () const override ;
141+ std::unique_ptr<TargetMachine > createTargetMachine () const override ;
142142 void getTargetTestModuleString (SmallString<512 > &S,
143143 StringRef MIRFunc) const override ;
144144};
145145
146146class AMDGPUGISelMITest : public GISelMITest {
147- std::unique_ptr<LLVMTargetMachine > createTargetMachine () const override ;
147+ std::unique_ptr<TargetMachine > createTargetMachine () const override ;
148148 void getTargetTestModuleString (SmallString<512 > &S,
149149 StringRef MIRFunc) const override ;
150150};
0 commit comments