mirror of
https://github.com/RPCS3/llvm.git
synced 2025-02-12 13:48:45 +00:00
[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:
parent
4fcc7e8528
commit
c95cfa7758
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user