Add llvm_unreachable to avoid MSVC warning

Without this I get a warning about not all paths returning.

Reviewed By: mehdi_amini

Differential Revision: https://reviews.llvm.org/D89760
This commit is contained in:
Geoffrey Martin-Noble 2020-10-19 19:20:16 -07:00
parent c7a7bba8c1
commit ad0b2d9d46
1 changed files with 1 additions and 0 deletions

View File

@ -3003,6 +3003,7 @@ static LogicalResult produceSubViewErrorMsg(SubViewVerificationResult result,
<< expectedType
<< " or a rank-reduced version. (mismatch of result affine map)";
}
llvm_unreachable("unexpected subview verification result");
}
template <typename OpType>