diff options
author | Kazu Hirata <kazu@google.com> | 2025-05-04 09:38:16 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-05-04 09:38:16 -0700 |
commit | 2f3067ed69098d9eefb92eda17649bf450641889 (patch) | |
tree | e4d4b7cc9d9b616e249ba687ef0ca954e2d06c21 /llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp | |
parent | d144c13ae59501a61ff1524412bb289261618539 (diff) | |
download | llvm-2f3067ed69098d9eefb92eda17649bf450641889.zip llvm-2f3067ed69098d9eefb92eda17649bf450641889.tar.gz llvm-2f3067ed69098d9eefb92eda17649bf450641889.tar.bz2 |
[llvm] Remove unused local variables (NFC) (#138454)
Diffstat (limited to 'llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp')
-rw-r--r-- | llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp b/llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp index 01da439..1a1bb03 100644 --- a/llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp +++ b/llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp @@ -2347,7 +2347,6 @@ TEST_F(OpenMPIRBuilderTest, UnrollLoopHeuristic) { TEST_F(OpenMPIRBuilderTest, StaticWorkshareLoopTarget) { using InsertPointTy = OpenMPIRBuilder::InsertPointTy; - std::string oldDLStr = M->getDataLayoutStr(); M->setDataLayout( "e-p:64:64-p1:64:64-p2:32:32-p3:32:32-p4:64:64-p5:32:32-p6:32:32-p7:160:" "256:256:32-p8:128:128-i64:64-v16:16-v24:32-v32:32-v48:64-v96:128-v192:" @@ -5554,7 +5553,6 @@ TEST_F(OpenMPIRBuilderTest, CreateSectionsSimple) { OpenMPIRBuilder::LocationDescription Loc({Builder.saveIP(), DL}); llvm::SmallVector<BodyGenCallbackTy, 4> SectionCBVector; - llvm::SmallVector<BasicBlock *, 4> CaseBBs; auto FiniCB = [&](InsertPointTy IP) { return Error::success(); }; auto SectionCB = [&](InsertPointTy AllocaIP, InsertPointTy CodeGenIP) { |