[llvm] [llvm] fix few copypaste typos (PR #119881)
via llvm-commits
llvm-commits at lists.llvm.org
Fri Dec 13 06:27:04 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()) {
----------------
klensy wrote:
This condition the same as outer if, should it be removed?
https://github.com/llvm/llvm-project/pull/119881
More information about the llvm-commits
mailing list