[llvm] [LV] Avoid querying the cost of invalid operations (PR #89161)

Kolya Panchenko via llvm-commits llvm-commits at lists.llvm.org
Thu May 9 15:44:47 PDT 2024


================
@@ -7067,6 +7067,10 @@ LoopVectorizationCostModel::getInstructionCost(Instruction *I, ElementCount VF,
         SrcVecTy = smallestIntegerVectorType(SrcVecTy, MinVecTy);
         VectorTy =
             largestIntegerVectorType(ToVectorTy(I->getType(), VF), MinVecTy);
----------------
nikolaypanchenko wrote:

@arcbbb @fhahn 

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


More information about the llvm-commits mailing list