[llvm] [llvm] fix few copypaste typos (PR #119881)

Alexey Bataev via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 13 07:44:07 PST 2024


================
@@ -13858,7 +13858,7 @@ class BoUpSLP::ShuffleInstructionBuilder final : public BaseShuffleAnalysis {
     Value *createShuffleVector(Value *V1, Value *V2, ArrayRef<int> Mask) {
       if (V1->getType() != V2->getType()) {
         assert(V1->getType()->isIntOrIntVectorTy() &&
-               V1->getType()->isIntOrIntVectorTy() &&
+               V2->getType()->isIntOrIntVectorTy() &&
                "Expected integer vector types only.");
         if (V1->getType() != V2->getType()) {
----------------
alexey-bataev wrote:

Yes, should be removed

https://github.com/llvm/llvm-project/pull/119881


More information about the llvm-commits mailing list