mirror of
https://github.com/intel/llvm.git
synced 2026-01-15 04:17:17 +08:00
[flang] Add two llvm_unreachable() calls to new code to silence compiler warning
This gets our -Werror build working again. Differential Revision: https://reviews.llvm.org/D156745
This commit is contained in:
@@ -1272,6 +1272,7 @@ const char *getMmaIrIntrName(MMAOp mmaOp) {
|
||||
case MMAOp::DisassemblePair:
|
||||
return "llvm.ppc.vsx.disassemble.pair";
|
||||
}
|
||||
llvm_unreachable("getMmaIrIntrName");
|
||||
}
|
||||
|
||||
mlir::FunctionType getMmaIrFuncType(mlir::MLIRContext *context, MMAOp mmaOp) {
|
||||
@@ -1285,6 +1286,7 @@ mlir::FunctionType getMmaIrFuncType(mlir::MLIRContext *context, MMAOp mmaOp) {
|
||||
case MMAOp::DisassemblePair:
|
||||
return genMmaDisassembleFuncType(context, mmaOp);
|
||||
}
|
||||
llvm_unreachable("getMmaIrFuncType");
|
||||
}
|
||||
|
||||
template <MMAOp IntrId, MMAHandlerOp HandlerOp>
|
||||
|
||||
Reference in New Issue
Block a user