[llvm] ba8f45f - [OMPIRBuilder] Remove unused variable in test (NFC)

Adrian Kuegel via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 1 01:33:52 PDT 2022


Author: Adrian Kuegel
Date: 2022-04-01T10:33:08+02:00
New Revision: ba8f45f642a218c08ef639b2c092a250d459cc9d

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

LOG: [OMPIRBuilder] Remove unused variable in test (NFC)

Added: 
    

Modified: 
    llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp b/llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp
index 6a58702a25b13..858404aad2e08 100644
--- a/llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp
+++ b/llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp
@@ -2212,7 +2212,6 @@ TEST_F(OpenMPIRBuilderTest, DynamicWorkShareLoopOrdered) {
 
   // Collect all the info from CLI, as it isn't usable after the call to
   // createDynamicWorkshareLoop.
-  InsertPointTy AfterIP = CLI->getAfterIP();
   BasicBlock *Preheader = CLI->getPreheader();
   BasicBlock *ExitBlock = CLI->getExit();
   BasicBlock *LatchBlock = CLI->getLatch();


        


More information about the llvm-commits mailing list