1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-26 04:32:44 +01:00

[Clang] Fix clang-tidy errors.

This commit is contained in:
Alexander Belyaev 2020-03-25 20:13:43 +01:00
parent 58a2f8e25d
commit 6b4b20c210

View File

@ -476,8 +476,7 @@ static void RunRandTest(uint64_t Seed, int Size, int MinCount, int MaxCount,
}
auto *Assume = cast<IntrinsicInst>(IntrinsicInst::Create(
FnAssume, ArrayRef<Value *>({ConstantInt::getTrue(C)}),
std::move(OpBundle)));
FnAssume, ArrayRef<Value *>({ConstantInt::getTrue(C)}), OpBundle));
Assume->insertBefore(&F->begin()->front());
RetainedKnowledgeMap Map;
fillMapFromAssume(*Assume, Map);