diff --git a/unittests/Analysis/ScalarEvolutionTest.cpp b/unittests/Analysis/ScalarEvolutionTest.cpp index c6b66cf9816..d4540834239 100644 --- a/unittests/Analysis/ScalarEvolutionTest.cpp +++ b/unittests/Analysis/ScalarEvolutionTest.cpp @@ -965,8 +965,6 @@ TEST_F(ScalarEvolutionsTest, SCEVExitLimitForgetLoop) { FunctionType::get(Type::getVoidTy(Context), {T_pint64}, false); Function *F = cast(NIM.getOrInsertFunction("foo", FTy)); - Argument *Arg = &*F->arg_begin(); - BasicBlock *Top = BasicBlock::Create(Context, "top", F); BasicBlock *LPh = BasicBlock::Create(Context, "L.ph", F); BasicBlock *L = BasicBlock::Create(Context, "L", F);