summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--llvm/unittests/MI/LiveIntervalTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/unittests/MI/LiveIntervalTest.cpp b/llvm/unittests/MI/LiveIntervalTest.cpp
index 856d14e4c5e..64cf49a586c 100644
--- a/llvm/unittests/MI/LiveIntervalTest.cpp
+++ b/llvm/unittests/MI/LiveIntervalTest.cpp
@@ -57,7 +57,7 @@ std::unique_ptr<Module> parseMIR(legacy::PassManagerBase &PM,
SMDiagnostic Diagnostic;
std::unique_ptr<MemoryBuffer> MBuffer = MemoryBuffer::getMemBuffer(MIRCode);
- MIR = std::move(createMIRParser(std::move(MBuffer), Context));
+ MIR = createMIRParser(std::move(MBuffer), Context);
if (!MIR)
return nullptr;
OpenPOWER on IntegriCloud