From: Vasileios Porpodas Date: Wed, 14 Dec 2022 19:50:06 +0000 (-0800) Subject: [NFC] Fix warnings in EXPENSIVE_CHECKS build X-Git-Tag: upstream/17.0.6~23794 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9eb5d9cbe9e53d16dbedf922259ae3643d919603;p=platform%2Fupstream%2Fllvm.git [NFC] Fix warnings in EXPENSIVE_CHECKS build --- diff --git a/llvm/unittests/IR/FunctionTest.cpp b/llvm/unittests/IR/FunctionTest.cpp index 79f46a9..8d8a2fe 100644 --- a/llvm/unittests/IR/FunctionTest.cpp +++ b/llvm/unittests/IR/FunctionTest.cpp @@ -434,12 +434,9 @@ TEST(FunctionTest, SpliceEndBeforeBegin) { Function *FromF = M->getFunction("from"); BasicBlock *FromBB1 = getBBWithName(FromF, "from_bb1"); BasicBlock *FromBB2 = getBBWithName(FromF, "from_bb2"); - BasicBlock *FromBB3 = getBBWithName(FromF, "from_bb3"); Function *ToF = M->getFunction("to"); - BasicBlock *ToBB1 = getBBWithName(ToF, "to_bb1"); BasicBlock *ToBB2 = getBBWithName(ToF, "to_bb2"); - BasicBlock *ToBB3 = getBBWithName(ToF, "to_bb3"); EXPECT_DEATH(ToF->splice(ToBB2->getIterator(), FromF, FromBB2->getIterator(), FromBB1->getIterator()),