[llvm] 9eb5d9c - [NFC] Fix warnings in EXPENSIVE_CHECKS build
Vasileios Porpodas via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 14 12:08:31 PST 2022
Author: Vasileios Porpodas
Date: 2022-12-14T12:07:03-08:00
New Revision: 9eb5d9cbe9e53d16dbedf922259ae3643d919603
URL: https://github.com/llvm/llvm-project/commit/9eb5d9cbe9e53d16dbedf922259ae3643d919603
DIFF: https://github.com/llvm/llvm-project/commit/9eb5d9cbe9e53d16dbedf922259ae3643d919603.diff
LOG: [NFC] Fix warnings in EXPENSIVE_CHECKS build
Added:
Modified:
llvm/unittests/IR/FunctionTest.cpp
Removed:
################################################################################
diff --git a/llvm/unittests/IR/FunctionTest.cpp b/llvm/unittests/IR/FunctionTest.cpp
index 79f46a924065d..8d8a2feb6e35a 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()),
More information about the llvm-commits
mailing list