[llvm] 96ad495 - [SLP] vectorizeChainsInBlock - remove superfluous continue at the end of for loop. NFC.

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 30 06:46:06 PDT 2024


Author: Simon Pilgrim
Date: 2024-08-30T14:45:48+01:00
New Revision: 96ad495289d241fc8f445ebdf4a9c1a6f6ff408e

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

LOG: [SLP] vectorizeChainsInBlock - remove superfluous continue at the end of for loop. NFC.

Added: 
    

Modified: 
    llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp b/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
index 345b01b82c6aa4..7b80b9ad7ce38d 100644
--- a/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
+++ b/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
@@ -19149,7 +19149,6 @@ bool SLPVectorizerPass::vectorizeChainsInBlock(BasicBlock *BB, BoUpSLP &R) {
       }
       // Undefs come last.
       assert(U1 && U2 && "The only thing left should be undef & undef.");
-      continue;
     }
     return false;
   };


        


More information about the llvm-commits mailing list