[mlir][vector] Fix warning

Previous change caused another warning in some build configuration:
"default label in switch which covers all enumeration values"
This commit is contained in:
thomasraoux 2021-05-07 17:10:35 -07:00
parent 5b158093e2
commit 6aaf06f929
1 changed files with 1 additions and 2 deletions

View File

@ -3791,9 +3791,8 @@ struct TwoDimMultiReductionToReduction
return "or";
case vector::CombiningKind::XOR:
return "xor";
default:
llvm_unreachable("unknown combining kind");
}
llvm_unreachable("unknown combining kind");
};
for (int i = 0; i < outerDim; ++i) {