[SLP] Silence -Wswitch warning after ec146cb7c0
{min,max}imum(X, X) is X so we can take the same path as min/max.
This commit is contained in:
@@ -13871,6 +13871,8 @@ private:
|
||||
case RecurKind::UMin:
|
||||
case RecurKind::FMax:
|
||||
case RecurKind::FMin:
|
||||
case RecurKind::FMaximum:
|
||||
case RecurKind::FMinimum:
|
||||
// res = vv
|
||||
return VectorizedValue;
|
||||
case RecurKind::Mul:
|
||||
@@ -13918,6 +13920,8 @@ private:
|
||||
case RecurKind::UMin:
|
||||
case RecurKind::FMax:
|
||||
case RecurKind::FMin:
|
||||
case RecurKind::FMaximum:
|
||||
case RecurKind::FMinimum:
|
||||
// No need for multiple min/max(s) of the same value.
|
||||
LLVM_DEBUG(dbgs() << "SLP: Max/min of same " << VectorizedValue
|
||||
<< ". (HorRdx)\n");
|
||||
|
||||
Reference in New Issue
Block a user