forked from OSchip/llvm-project
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:
parent
c7a7bba8c1
commit
ad0b2d9d46
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue