diff options
Diffstat (limited to 'unittests/MI')
-rw-r--r-- | unittests/MI/LiveIntervalTest.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/unittests/MI/LiveIntervalTest.cpp b/unittests/MI/LiveIntervalTest.cpp index 12c3ad66073..5fe5c916719 100644 --- a/unittests/MI/LiveIntervalTest.cpp +++ b/unittests/MI/LiveIntervalTest.cpp @@ -70,8 +70,7 @@ std::unique_ptr<Module> parseMIR(LLVMContext &Context, return nullptr; const LLVMTargetMachine &LLVMTM = static_cast<const LLVMTargetMachine&>(TM); - LLVMTM.addMachineModuleInfo(PM); - LLVMTM.addMachineFunctionAnalysis(PM, MIR.get()); + LLVMTM.addMachineModuleInfo(PM, MIR.get()); return M; } |