[NFC] Ignore unused var in no-asserts builds
authorJordan Rupprecht <rupprecht@google.com>
Wed, 12 Oct 2022 15:11:10 +0000 (08:11 -0700)
committerJordan Rupprecht <rupprecht@google.com>
Wed, 12 Oct 2022 15:11:10 +0000 (08:11 -0700)
llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp

index 49dd2d5..10d9293 100644 (file)
@@ -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.