[SLP] Fix the warning about paths not returning the value, NFC.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@312793 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Alexey Bataev 2017-09-08 14:32:20 +00:00
parent 4fcc7e8528
commit c95cfa7758

View File

@ -4711,8 +4711,9 @@ class HorizontalReduction {
case RK_UMax:
return 3;
case RK_None:
llvm_unreachable("Reduction kind is not set");
break;
}
llvm_unreachable("Reduction kind is not set");
}
/// Expected number of uses for reduction operations/reduced values.
@ -4728,8 +4729,9 @@ class HorizontalReduction {
case RK_UMax:
return 2;
case RK_None:
llvm_unreachable("Reduction kind is not set");
break;
}
llvm_unreachable("Reduction kind is not set");
}
/// Checks if instruction is associative and can be vectorized.