@@ -254,8 +254,7 @@ struct Recipe_match {
254
254
// Check for recipes that do not have opcodes.
255
255
if constexpr (std::is_same_v<RecipeTy, VPScalarIVStepsRecipe> ||
256
256
std::is_same_v<RecipeTy, VPCanonicalIVPHIRecipe> ||
257
- std::is_same_v<RecipeTy, VPDerivedIVRecipe> ||
258
- std::is_same_v<RecipeTy, VPVectorPointerRecipe>)
257
+ std::is_same_v<RecipeTy, VPDerivedIVRecipe>)
259
258
return DefR;
260
259
else
261
260
return DefR && DefR->getOpcode () == Opcode;
@@ -526,8 +525,7 @@ m_SpecificCmp(CmpPredicate MatchPred, const Op0_t &Op0, const Op1_t &Op1) {
526
525
template <typename Op0_t, typename Op1_t>
527
526
using GEPLikeRecipe_match = match_combine_or<
528
527
Recipe_match<std::tuple<Op0_t, Op1_t>, Instruction::GetElementPtr,
529
- /* Commutative*/ false , VPReplicateRecipe, VPWidenGEPRecipe,
530
- VPVectorPointerRecipe>,
528
+ /* Commutative*/ false , VPReplicateRecipe, VPWidenGEPRecipe>,
531
529
match_combine_or<
532
530
VPInstruction_match<VPInstruction::PtrAdd, Op0_t, Op1_t>,
533
531
VPInstruction_match<VPInstruction::WidePtrAdd, Op0_t, Op1_t>>>;
@@ -537,8 +535,8 @@ inline GEPLikeRecipe_match<Op0_t, Op1_t> m_GetElementPtr(const Op0_t &Op0,
537
535
const Op1_t &Op1) {
538
536
return m_CombineOr (
539
537
Recipe_match<std::tuple<Op0_t, Op1_t>, Instruction::GetElementPtr,
540
- /* Commutative*/ false , VPReplicateRecipe, VPWidenGEPRecipe,
541
- VPVectorPointerRecipe>( Op0, Op1),
538
+ /* Commutative*/ false , VPReplicateRecipe, VPWidenGEPRecipe>(
539
+ Op0, Op1),
542
540
m_CombineOr (
543
541
VPInstruction_match<VPInstruction::PtrAdd, Op0_t, Op1_t>(Op0, Op1),
544
542
VPInstruction_match<VPInstruction::WidePtrAdd, Op0_t, Op1_t>(Op0,
0 commit comments