From: Fady Ghanim Date: Sat, 27 Jun 2020 06:43:04 +0000 (-0400) Subject: [OpenMP][OMPBuilder] Remove unused variable in Unittest X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=89812eeee97c8f7ab2e6ee2c48edb7a409dfff39;p=platform%2Fupstream%2Fllvm.git [OpenMP][OMPBuilder] Remove unused variable in Unittest Relating to buildbot errors to commit 82b8236cf248ef91968b67d18af23890322cde43 --- diff --git a/llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp b/llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp index 44f45b9..c51a1a2 100644 --- a/llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp +++ b/llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp @@ -788,7 +788,6 @@ TEST_F(OpenMPIRBuilderTest, CopyinBlocks) { OpenMPIRBuilder::LocationDescription Loc({Builder.saveIP(), DL}); - AllocaInst *PrivAI = Builder.CreateAlloca(F->arg_begin()->getType()); IntegerType* Int32 = Type::getInt32Ty(M->getContext()); AllocaInst* MasterAddress = Builder.CreateAlloca(Int32->getPointerTo()); AllocaInst* PrivAddress = Builder.CreateAlloca(Int32->getPointerTo());