Unbreak Windows build

Without the llvm_unreachable, Windows complains about not returning a
value from mlir::isSpeculatable on all paths.

Differential Revision: https://reviews.llvm.org/D135899
This commit is contained in:
Sanjoy Das 2022-10-13 11:09:09 -07:00
parent 4d95f74b13
commit dde9db5f93
1 changed files with 2 additions and 0 deletions

View File

@ -55,4 +55,6 @@ bool mlir::isSpeculatable(Operation *op) {
case Speculation::NotSpeculatable:
return false;
}
llvm_unreachable("Unhandled enum in mlir::isSpeculatable!");
}