From cbae57c0e129a21955bbaa49179259b05c9e1040 Mon Sep 17 00:00:00 2001 From: Jordan Rupprecht Date: Wed, 12 Oct 2022 08:11:10 -0700 Subject: [PATCH] [NFC] Ignore unused var in no-asserts builds --- llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp b/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp index 49dd2d5..10d9293 100644 --- a/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp +++ b/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp @@ -7198,6 +7198,7 @@ static T *performExtractsShuffleAction( VMIt = std::next(VMIt); } bool IsBaseNotUndef = !IsBaseUndef.all(); + (void)IsBaseNotUndef; // Perform requested actions for the remaining masks/vectors. for (auto E = ShuffleMask.end(); VMIt != E; ++VMIt) { // Shuffle other input vectors, if any. -- 2.7.4