[llvm] 89812ee - [OpenMP][OMPBuilder] Remove unused variable in Unittest

Fady Ghanim via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 26 23:50:31 PDT 2020


Author: Fady Ghanim
Date: 2020-06-27T02:49:43-04:00
New Revision: 89812eeee97c8f7ab2e6ee2c48edb7a409dfff39

URL: https://github.com/llvm/llvm-project/commit/89812eeee97c8f7ab2e6ee2c48edb7a409dfff39
DIFF: https://github.com/llvm/llvm-project/commit/89812eeee97c8f7ab2e6ee2c48edb7a409dfff39.diff

LOG: [OpenMP][OMPBuilder] Remove unused variable in Unittest

Relating to buildbot errors to commit 82b8236cf248ef91968b67d18af23890322cde43

Added: 
    

Modified: 
    llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp b/llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp
index 44f45b9c5872..c51a1a222144 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());


        


More information about the llvm-commits mailing list